mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
6a6c7a0105
commit
a0a32a214a
@ -245,10 +245,11 @@ def get(ctx, rd, what, book_id, library_id):
|
|||||||
sz = rd.query.get('sz')
|
sz = rd.query.get('sz')
|
||||||
w, h = 60, 80
|
w, h = 60, 80
|
||||||
if sz is None:
|
if sz is None:
|
||||||
try:
|
if rest:
|
||||||
w, h = map(int, rest.split('_'))
|
try:
|
||||||
except Exception:
|
w, h = map(int, rest.split('_'))
|
||||||
pass
|
except Exception:
|
||||||
|
pass
|
||||||
elif sz == 'full':
|
elif sz == 'full':
|
||||||
w = h = None
|
w = h = None
|
||||||
elif 'x' in sz:
|
elif 'x' in sz:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user