From 77afc010db3f8c8d3f477a634590a32798ae7d28 Mon Sep 17 00:00:00 2001 From: John Schember Date: Sat, 12 May 2012 13:38:06 -0400 Subject: [PATCH] Store: Diesel fix drm status. --- src/calibre/gui2/store/stores/diesel_ebooks_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/store/stores/diesel_ebooks_plugin.py b/src/calibre/gui2/store/stores/diesel_ebooks_plugin.py index 1d410e2c38..3991be554d 100644 --- a/src/calibre/gui2/store/stores/diesel_ebooks_plugin.py +++ b/src/calibre/gui2/store/stores/diesel_ebooks_plugin.py @@ -72,7 +72,7 @@ class DieselEbooksStore(BasicStoreConfig, StorePlugin): formats = ', '.join(data.xpath('.//div[@class="book-info"]//text()')).strip() a, b, formats = formats.partition('Format:') drm = SearchResult.DRM_LOCKED - if 'drm free' not in formats.lower(): + if 'drm free' in formats.lower(): drm = SearchResult.DRM_UNLOCKED