summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbjoern/videoanalyse/LogParser.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bjoern/videoanalyse/LogParser.py b/bjoern/videoanalyse/LogParser.py
index d31575e..0633fd8 100755
--- a/bjoern/videoanalyse/LogParser.py
+++ b/bjoern/videoanalyse/LogParser.py
@@ -8,7 +8,6 @@ import os
import re
from datetime import datetime
import csv
-import codecs
from read_sqlite import get_url_from_sqlite
from pathlib import Path
@@ -65,7 +64,7 @@ def get_log_data(data_path):
if s.endswith(".log"):
log_files.append(os.path.join(data_path, s))
for l in log_files:
- with codecs.open(l, "r", "utf-8") as reader:
+ with open(l, "r") as reader:
log_data.append(reader.read())
return log_data