From b4d1d3e0ff5bf04e73079fdfa939e20f85d975f2 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Tue, 4 Aug 2020 11:58:41 +0200 Subject: [PATCH] Revert "incredibly insignificant code cleanup" This reverts commit c0eaf7b8a7e81988f37f77497f8c87b17a2453be. --- z64dump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/z64dump.py b/z64dump.py index 5cf5b87..d1e27f6 100755 --- a/z64dump.py +++ b/z64dump.py @@ -72,7 +72,7 @@ def dump_wrap(data, fn, size): except Exception as e: lament(fn, e) kind = None - else: + if kind is not None: fn += '.' + kind dump_as(data, fn, size)