From 2f6c28600389ac885a735cf6642f337dbc4c9c33 Mon Sep 17 00:00:00 2001 From: Will Toohey Date: Tue, 19 Dec 2017 01:33:11 +1000 Subject: [PATCH] Fix auto-repack (again) --- ifstools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ifstools.py b/ifstools.py index 471cdb9..567add2 100644 --- a/ifstools.py +++ b/ifstools.py @@ -53,7 +53,7 @@ class IFS: def _load_dir(self, path): self.default_out = path - self.ifs_out = dirname(path).replace('_ifs', '.ifs') + self.ifs_out = path.replace('_ifs', '.ifs') self.file_version = FILE_VERSION self.time = int(getmtime(path))