1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-28 12:30:00 +00:00

Removed whitespaces

This commit is contained in:
Ozzie Isaacs 2017-07-11 16:13:33 +02:00 committed by GitHub
parent 66231c8737
commit f79fb420ba

View File

@ -342,7 +342,7 @@ def update_dir_structure_gdrive(book_id):
gFile['title']= new_titledir gFile['title']= new_titledir
gFile.Upload() gFile.Upload()
book.path = book.path.split('/')[0] + '/' + new_titledir book.path = book.path.split('/')[0] + '/' + new_titledir
if authordir != new_authordir: if authordir != new_authordir:
gFile=gd.getFileFromEbooksFolder(web.Gdrive.Instance().drive,None,authordir) gFile=gd.getFileFromEbooksFolder(web.Gdrive.Instance().drive,None,authordir)
gFile['title'] = new_authordir gFile['title'] = new_authordir