mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-28 04:19:59 +00:00
Fix #1441 (list copy function not available on python2, crashes edit metadata)
This commit is contained in:
parent
2f8c8c3a28
commit
9b2df9cfd9
@ -278,7 +278,7 @@ def render_edit_book(book_id):
|
||||
|
||||
# Determine what formats don't already exist
|
||||
if config.config_converterpath:
|
||||
allowed_conversion_formats = constants.EXTENSIONS_CONVERT.copy()
|
||||
allowed_conversion_formats = constants.EXTENSIONS_CONVERT[:]
|
||||
for file in book.data:
|
||||
if file.format.lower() in allowed_conversion_formats:
|
||||
allowed_conversion_formats.remove(file.format.lower())
|
||||
|
Loading…
Reference in New Issue
Block a user