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:
@@ -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