From 8d154b3b8fc8e7d595e52476a1580526519fdeb0 Mon Sep 17 00:00:00 2001 From: Will Toohey Date: Mon, 18 Dec 2017 19:41:34 +1000 Subject: [PATCH] Fix broken auto detect --- ifstools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ifstools.py b/ifstools.py index c7c7ce7..471cdb9 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 = basename(path).replace('_ifs', '.ifs') + self.ifs_out = dirname(path).replace('_ifs', '.ifs') self.file_version = FILE_VERSION self.time = int(getmtime(path))