From 4582aebec136b29473cf6c14caf4acd3611f8643 Mon Sep 17 00:00:00 2001 From: OzzieIsaacs Date: Sun, 17 Sep 2017 10:54:23 +0200 Subject: [PATCH] Bugfix gdriveutils --- cps/gdriveutils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cps/gdriveutils.py b/cps/gdriveutils.py index efd11acb..8909db15 100644 --- a/cps/gdriveutils.py +++ b/cps/gdriveutils.py @@ -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: