From ea5b62a02356589a5e94868f6836279b88806580 Mon Sep 17 00:00:00 2001 From: John Schember Date: Sat, 3 Dec 2011 12:12:43 -0500 Subject: [PATCH] Store: Fix displaying covers in Diesel store. --- src/calibre/gui2/store/stores/diesel_ebooks_plugin.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/calibre/gui2/store/stores/diesel_ebooks_plugin.py b/src/calibre/gui2/store/stores/diesel_ebooks_plugin.py index a21d6943d7..a6876f8840 100644 --- a/src/calibre/gui2/store/stores/diesel_ebooks_plugin.py +++ b/src/calibre/gui2/store/stores/diesel_ebooks_plugin.py @@ -63,9 +63,6 @@ class DieselEbooksStore(BasicStoreConfig, StorePlugin): a, b, id = id.partition('/item/') cover_url = ''.join(data.xpath('div[@class="cover"]//img/@src')) - if cover_url.startswith('/'): - cover_url = cover_url[1:] - cover_url = 'http://www.diesel-ebooks.com/' + cover_url title = ''.join(data.xpath('.//div[@class="content"]//h2/text()')) author = ''.join(data.xpath('//div[@class="content"]//div[@class="author"]/a/text()'))