1
0
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:
Will Toohey 2019-04-30 12:28:23 +10:00
parent ccd9c1c363
commit 0c6f17f045

View File

@ -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)