mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Fix duplicate file read
This commit is contained in:
parent
a31474804f
commit
d459097e3f
@ -52,7 +52,6 @@ def set_book_path(path, pathtoebook):
|
||||
set_book_path.path = os.path.abspath(path)
|
||||
set_book_path.metadata = get_data('calibre-book-metadata.json')[0]
|
||||
set_book_path.manifest, set_book_path.manifest_mime = get_data('calibre-book-manifest.json')
|
||||
set_book_path.metadata = get_data('calibre-book-metadata.json')[0]
|
||||
set_book_path.parsed_metadata = json_loads(set_book_path.metadata)
|
||||
set_book_path.parsed_manifest = json_loads(set_book_path.manifest)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user