mirror of
https://github.com/janeczku/calibre-web
synced 2025-10-21 02:27:40 +00:00
Updated german translation
Bugfix additional format upload without extension Bugfix additional format upload to gdrive pathes assembled by os.path.join
This commit is contained in:
@@ -184,7 +184,7 @@ def delete_book_file(book, calibrepath, book_format=None):
|
||||
return False
|
||||
|
||||
|
||||
def update_dir_stucture_file(book_id, calibrepath):
|
||||
def update_dir_structure_file(book_id, calibrepath):
|
||||
localbook = db.session.query(db.Books).filter(db.Books.id == book_id).first()
|
||||
path = os.path.join(calibrepath, localbook.path)
|
||||
|
||||
@@ -277,7 +277,7 @@ def update_dir_stucture(book_id, calibrepath):
|
||||
if ub.config.config_use_google_drive:
|
||||
return update_dir_structure_gdrive(book_id)
|
||||
else:
|
||||
return update_dir_stucture_file(book_id, calibrepath)
|
||||
return update_dir_structure_file(book_id, calibrepath)
|
||||
|
||||
def delete_book(book, calibrepath, book_format):
|
||||
if ub.config.config_use_google_drive:
|
||||
|
Reference in New Issue
Block a user