1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-09-27 14:48:22 +00:00

Bugfix gdriveutils

This commit is contained in:
OzzieIsaacs 2017-09-17 10:54:23 +02:00
parent b6b73d39c2
commit 4582aebec1

View File

@ -201,8 +201,9 @@ def backupCalibreDbAndOptionalDownload(drive, f=None):
def copyToDrive(drive, uploadFile, createRoot, replaceFiles,
ignoreFiles= ignoreFiles or [],
ignoreFiles=None,
parent=None, prevDir=''):
ignoreFiles = ignoreFiles or []
drive = getDrive(drive)
isInitial = not bool(parent)
if not parent: