From 40930ef787dd9cb4c2b873fb49d00872d12706ea Mon Sep 17 00:00:00 2001 From: Evert Geldenhuys Date: Fri, 12 May 2017 23:25:55 +0200 Subject: [PATCH] Apply Hotfix v1.0.3 --- CHANGELOG.md | 4 ++++ clickup-mirror.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a68268a..f95a841 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## v1.0.3 - 2017-05-12 +### Fixed +- Fix data file arguments not taking effect + ## v1.0.2 - 2017-05-12 ### Fixed - Error when database file directory does not exist (Actually fix) diff --git a/clickup-mirror.py b/clickup-mirror.py index ae15acd..2ddff3b 100644 --- a/clickup-mirror.py +++ b/clickup-mirror.py @@ -66,8 +66,8 @@ def main(): print("Please log into ClickUP using " + args.browser) exit(1) - if os.path.isfile(args.data_file): - data = loadDataFile(args.data_file) + if os.path.isfile(dataFile): + data = loadDataFile(dataFile) else: data = getStructure(s_session_id) saveDataFile(args.data_file, data)