From 893bff486501c41431a964bba0349f9f15f5cc60 Mon Sep 17 00:00:00 2001 From: Jakob Date: Fri, 6 Dec 2019 14:09:11 -0600 Subject: [PATCH] Last bug fix? --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 1e0aab2..171e38f 100644 --- a/main.py +++ b/main.py @@ -159,7 +159,7 @@ with StorageManager(Path('auth_cache')) as storage_mgr: new_version = result.version.next() log('info', "Found new revision ({})".format(new_version.version), indent = 2) else: - new_version = fs.VersionInfo(att_id, 0) + new_version = fs.VersionInfo(fs.VersionInfo.MetaType.NEW, att_id, 0) log('info', "Storing initial revision", indent = 2) dest = fs.get_new_path(local_path, attachment_doc['fileName']) log('info', "Destination: {}".format(dest), indent = 2) -- 2.30.2