From 73bf7118951c34cc94b8903c3926774f8fbc4401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C5=82ugosz?= Date: Fri, 22 Nov 2013 19:54:44 +0100 Subject: [PATCH] do not list not avaliable items from ebookpoint --- src/calibre/gui2/store/stores/ebookpoint_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/store/stores/ebookpoint_plugin.py b/src/calibre/gui2/store/stores/ebookpoint_plugin.py index 312f4baca8..46d410dc41 100644 --- a/src/calibre/gui2/store/stores/ebookpoint_plugin.py +++ b/src/calibre/gui2/store/stores/ebookpoint_plugin.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from __future__ import (unicode_literals, division, absolute_import, print_function) -store_version = 4 # Needed for dynamic plugin loading +store_version = 5 # Needed for dynamic plugin loading __license__ = 'GPL 3' __copyright__ = '2011-2013, Tomasz Długosz ' @@ -61,7 +61,7 @@ class EbookpointStore(BasicStoreConfig, StorePlugin): continue formats = ', '.join(data.xpath('.//div[@class="ikony"]/span/text()')) - if formats == 'MP3': + if formats in ['MP3','']: continue cover_url = ''.join(data.xpath('.//a[@class="cover"]/img/@src')) title = ''.join(data.xpath('.//h3/a/@title'))