Fix LDAP import user

This commit is contained in:
OzzieIsaacs
2020-12-08 20:13:36 +01:00
parent d6fbcdb09d
commit a80a8aab1c
3 changed files with 958 additions and 12639 deletions
-1
View File
@@ -112,7 +112,6 @@ class TaskConvert(CalibreTask):
if check == 0:
cur_book = local_db.get_book(book_id)
if os.path.isfile(file_path + format_new_ext):
# check if format is already there and replace it if so, problem with gdrive kepub upload (why?)
new_format = db.Data(name=cur_book.data[0].name,
book_format=self.settings['new_book_format'].upper(),
book=book_id, uncompressed_size=os.path.getsize(file_path + format_new_ext))