mirror of
https://github.com/gryf/pygtktalog.git
synced 2026-10-09 07:12:29 +02:00
* Bug fix in catch exception - this is not IOError.
This commit is contained in:
1 parent
6ee0520823
commit
0e5b5037f9
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user