summaryrefslogtreecommitdiff
path: root/Koopuzzle/archive.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xKoopuzzle/archive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Koopuzzle/archive.py b/Koopuzzle/archive.py
index b0495f5..f623d16 100755
--- a/Koopuzzle/archive.py
+++ b/Koopuzzle/archive.py
@@ -171,7 +171,7 @@ class U8(WiiArchive):
if(sz != counter + 1):
recursion.append(sz)
else:
- recursiondir.pop()
+ if recursiondir: recursiondir.pop()
def __str__(self):
ret = ''
for key, value in self.files: