mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
fix 'pdf' casing in the list
This commit is contained in:
parent
b905d9cbb2
commit
33d00175e0
@ -71,6 +71,8 @@ class WoblinkStore(BasicStoreConfig, StorePlugin):
|
|||||||
formats.append('WOBLINK')
|
formats.append('WOBLINK')
|
||||||
if 'E Ink' in data.xpath('.//div[@class="prices"]/img/@title'):
|
if 'E Ink' in data.xpath('.//div[@class="prices"]/img/@title'):
|
||||||
formats.insert(0, 'EPUB')
|
formats.insert(0, 'EPUB')
|
||||||
|
if 'pdf' in formats:
|
||||||
|
formats[formats.index('pdf')] = 'PDF'
|
||||||
|
|
||||||
counter -= 1
|
counter -= 1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user