diff --git a/lib/tfw/components/source_code_event_handler.py b/lib/tfw/components/source_code_event_handler.py index f700324..1230aa6 100644 --- a/lib/tfw/components/source_code_event_handler.py +++ b/lib/tfw/components/source_code_event_handler.py @@ -10,10 +10,8 @@ log = logging.getLogger(__name__) class FileManager: def __init__(self, working_directory, selected_file=None, exclude=()): - self._exclude = None - self.exclude = exclude - self._workdir = None - self.workdir = working_directory + self._exclude, self.exclude = None, exclude + self._workdir, self.workdir = None, working_directory self.filename = selected_file or self.files[0] @property