diff options
author | Christian Franke <nobody@nowhere.ws> | 2011-10-27 11:18:25 +0200 |
---|---|---|
committer | Christian Franke <nobody@nowhere.ws> | 2011-10-27 11:18:25 +0200 |
commit | b4c1017b522af1c2e40d38111b55e94232333724 (patch) | |
tree | 00b0996c9e0e0ceeeb98166c91d25c4b512efd41 | |
parent | 29fda60597dc16aeb59264fd79a6e6fc0012026d (diff) |
Fix osmux.py problem introduced by /me
-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) |