diff options
-rw-r--r-- | scripts/osmux.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/osmux.py b/scripts/osmux.py index cf150ea..f0cdf48 100644 --- a/scripts/osmux.py +++ b/scripts/osmux.py @@ -96,7 +96,7 @@ if params.step <= 0: print('Value for --pause must be > 0. Exiting.', file=stderr) exit(1) try: - open(params.outfile, mode='wa', encoding='utf-8') + open(params.outfile, mode='a', encoding='utf-8') except IOError as e: (errno, strerror) = e.args print('Failed to open output file for writing: %s. Exiting.' % strerror, file=stderr) |