mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-23 02:51:32 +00:00
Remove unnecessary call in FileManager
This commit is contained in:
parent
ade210c4fc
commit
6e7e681602
@ -13,7 +13,7 @@ class FileManager:
|
|||||||
def __init__(self, working_directory, selected_file=None):
|
def __init__(self, working_directory, selected_file=None):
|
||||||
self.exclude = ['__pycache__']
|
self.exclude = ['__pycache__']
|
||||||
self._workdir = working_directory
|
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):
|
def select_file(self, filename):
|
||||||
if not filename in self.files:
|
if not filename in self.files:
|
||||||
|
Loading…
Reference in New Issue
Block a user