Fix inability to commit This was probably a leftover from the version we used internally. Credit goes to @nadirlc for finding it.
1 files changed, 2 insertions(+), 2 deletions(-) M trello2redmine.py
M trello2redmine.py => trello2redmine.py +2 -2
@@ 17,7 17,7 @@ if len(sys.argv) > 3 or (len(sys.argv) == 2 and sys.argv[1] == '-h'): sys.exit(0) # If a dry run, JSON is printed instead of submitted to Redmine. dry_run = len(sys.argv) < 3 or sys.argv[2] != '-c' dry_run = len(sys.argv) < 2 or sys.argv[2] != '-c' if dry_run: print('Making a dry run! Re-run with -c to commit the import into Redmine.') @@ else: 236,4 236,4 @@ for c in board["cards"]: else: print(str(result)) print('Done!') \ No newline at end of file print('Done!')