From b4c1017b522af1c2e40d38111b55e94232333724 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Thu, 27 Oct 2011 11:18:25 +0200 Subject: Fix osmux.py problem introduced by /me --- scripts/osmux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1