From 6e7e681602e8c5ca40d716861d135b45bf18db4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Thu, 15 Feb 2018 16:32:41 +0100 Subject: [PATCH] Remove unnecessary call in FileManager --- lib/tfw/components/source_code_event_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tfw/components/source_code_event_handler.py b/lib/tfw/components/source_code_event_handler.py index 3060836..88229b4 100644 --- a/lib/tfw/components/source_code_event_handler.py +++ b/lib/tfw/components/source_code_event_handler.py @@ -13,7 +13,7 @@ class FileManager: def __init__(self, working_directory, selected_file=None): self.exclude = ['__pycache__'] self._workdir = working_directory - self.filename = selected_file or self._relpath(self.files[0]) + self.filename = selected_file or self.files[0] def select_file(self, filename): if not filename in self.files: