Start using file io when opening random modules
This commit is contained in:
1 parent
b9e8bff5e2
commit
fcf214b548
5 files changed
+59
-42
No files matched your search
@@ -179,8 +179,8 @@ class ModuleContext(ModuleMixin, TreeContext):
|
||||
parent_context=None,
|
||||
tree_node=module_node
|
||||
)
|
||||
self._file_io = file_io
|
||||
if self._file_io is None:
|
||||
self.file_io = file_io
|
||||
if file_io is None:
|
||||
self._path = None
|
||||
else:
|
||||
self._path = file_io.path
|
||||
|
||||
Reference in new issue
Block a user