From 29578fbeb41489ecb4b50cf484b4549b1e2061dc Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Tue, 12 Jul 2016 16:46:30 +0200 Subject: [PATCH] little change for #97 --- boswatch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/boswatch.py b/boswatch.py index 7cfc162..7a2c560 100755 --- a/boswatch.py +++ b/boswatch.py @@ -139,8 +139,10 @@ try: mon_log = open(globals.log_path+"multimon.log", "w") rtl_log.write("") mon_log.write("") + rawMmOut.write("") rtl_log.close() mon_log.close() + rawMmOut.close() logging.debug("BOSWatch has started") logging.debug("Logfiles cleared") @@ -366,7 +368,6 @@ try: # write multimon-ng raw data if globals.config.getboolean("BOSWatch","writeMultimonRaw"): try: - rawMmOut = open("mm_raw.txt", "w") rawMmOut.write(decoded) except: logging.warning("cannot write raw multimon data")