mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Store cover fname on book object for easy referral
This commit is contained in:
parent
09717b15c4
commit
2cf1d1fb7a
@ -140,6 +140,7 @@ class DB:
|
||||
'manifest': None,
|
||||
'cover_width': None,
|
||||
'cover_height': None,
|
||||
'cover_fname': None,
|
||||
'last_read_position': {},
|
||||
})
|
||||
)
|
||||
@ -174,6 +175,7 @@ class DB:
|
||||
blob = Blob([data], {'type':'image/jpeg'})
|
||||
url = window.URL.createObjectURL(blob)
|
||||
img = new Image()
|
||||
book.cover_fname = fname
|
||||
proceeded = False
|
||||
|
||||
def done():
|
||||
|
Loading…
x
Reference in New Issue
Block a user