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)