1
0
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:
OzzieIsaacs
2018-08-18 12:15:32 +02:00
parent 273b1c3fa8
commit 9ace4d3372
17 changed files with 4202 additions and 2682 deletions

View File

@@ -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: