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)