Fix #1441 (list copy function not available on python2, crashes edit metadata)

pull/1458/head
Ozzieisaacs 5 years ago
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…
Cancel
Save