1
0
mirror of https://github.com/gryf/pygtktalog.git synced 2025-12-17 11:30:19 +01:00

* Bug fix in catch exception - this is not IOError.

This commit is contained in:
2008-04-25 06:51:04 +00:00
parent 6ee0520823
commit 0e5b5037f9

View File

@@ -379,10 +379,10 @@ class MainModel(ModelMT):
try:
tar = tarfile.open(filename, "r:gz")
except IOError:
except:
try:
tar = tarfile.open(filename, "r")
except IOError:
except:
self.filename = None
self.internal_dirname = None
return