mirror of
https://github.com/mon/ifstools.git
synced 2025-02-25 13:55:01 +01:00
Set self.file when loading a dir
This commit is contained in:
parent
ccd9c1c363
commit
0c6f17f045
@ -83,6 +83,7 @@ class IFS:
|
|||||||
|
|
||||||
def load_dir(self, path):
|
def load_dir(self, path):
|
||||||
self.is_file = False
|
self.is_file = False
|
||||||
|
self.file = None
|
||||||
|
|
||||||
path = path.rstrip('/\\')
|
path = path.rstrip('/\\')
|
||||||
self.folder_out = basename(path)
|
self.folder_out = basename(path)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user