mirror of
https://github.com/mon/ifstools.git
synced 2024-11-27 18:40:48 +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):
|
||||
self.is_file = False
|
||||
self.file = None
|
||||
|
||||
path = path.rstrip('/\\')
|
||||
self.folder_out = basename(path)
|
||||
|
Loading…
Reference in New Issue
Block a user