mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Store: EpubBud store, fix detail url
This commit is contained in:
parent
fc8f268ee9
commit
7e2e3cbb87
@ -25,9 +25,6 @@ class EpubBudStore(BasicStoreConfig, StorePlugin):
|
|||||||
def open(self, parent=None, detail_item=None, external=False):
|
def open(self, parent=None, detail_item=None, external=False):
|
||||||
url = 'http://epubbud.com/'
|
url = 'http://epubbud.com/'
|
||||||
|
|
||||||
if detail_item:
|
|
||||||
url = 'http://epubbud.com/book.php?g=' + detail_item
|
|
||||||
|
|
||||||
if external or self.config.get('open_external', False):
|
if external or self.config.get('open_external', False):
|
||||||
open_url(QUrl(url_slash_cleaner(detail_item if detail_item else url)))
|
open_url(QUrl(url_slash_cleaner(detail_item if detail_item else url)))
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user