diff --git a/snappergui/changesWindow.py b/snappergui/changesWindow.py index 44a2203..a01088b 100644 --- a/snappergui/changesWindow.py +++ b/snappergui/changesWindow.py @@ -162,7 +162,7 @@ def on_idle_init_paths_tree(self): def get_lines_from_file(self, path): try: - return open(path, 'U').readlines() + return open(path).readlines() except IsADirectoryError: pass except FileNotFoundError: