diff --git a/cps/helper.py b/cps/helper.py index 765448bfcf3600ded38a04805b3cf1e9b49a501b..d2b0c954ca1cbc46b6e705d77f360d084f8638be 100755 --- a/cps/helper.py +++ b/cps/helper.py @@ -342,7 +342,7 @@ def update_dir_structure_gdrive(book_id): gFile['title']= new_titledir gFile.Upload() book.path = book.path.split('/')[0] + '/' + new_titledir - + if authordir != new_authordir: gFile=gd.getFileFromEbooksFolder(web.Gdrive.Instance().drive,None,authordir) gFile['title'] = new_authordir