diff options
Diffstat (limited to 'bjoern/videoanalyse/LogParser.py')
-rwxr-xr-x | bjoern/videoanalyse/LogParser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bjoern/videoanalyse/LogParser.py b/bjoern/videoanalyse/LogParser.py index 0633fd8..b41804d 100755 --- a/bjoern/videoanalyse/LogParser.py +++ b/bjoern/videoanalyse/LogParser.py @@ -117,7 +117,7 @@ def generate_log(activities: dict): def write_logfile(vp_dir, log): path = Path(f"{vp_dir}/logs.csv") - with open(path, "w") as csvfile: + with open(path, "w", newline="") as csvfile: writer = csv.writer( csvfile, delimiter=",", quoting=csv.QUOTE_NONNUMERIC, lineterminator="\n" ) |