1
0
mirror of https://github.com/mon/ifstools.git synced 2024-11-24 01:50:10 +01:00

Fix broken auto detect

This commit is contained in:
Will Toohey 2017-12-18 19:41:34 +10:00
parent e0125caf09
commit 8d154b3b8f

View File

@ -53,7 +53,7 @@ class IFS:
def _load_dir(self, path): def _load_dir(self, path):
self.default_out = path self.default_out = path
self.ifs_out = basename(path).replace('_ifs', '.ifs') self.ifs_out = dirname(path).replace('_ifs', '.ifs')
self.file_version = FILE_VERSION self.file_version = FILE_VERSION
self.time = int(getmtime(path)) self.time = int(getmtime(path))