reference to undefined exception variable
This commit is contained in:
parent
84a4ede80b
commit
313f57701e
1 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ class Controller(QtCore.QObject):
|
|||
try:
|
||||
with open(self.config_path, 'w+') as f:
|
||||
pickle.dump(self.config, f)
|
||||
except IOError:
|
||||
except IOError as e:
|
||||
print self.config_path + " is not writable"
|
||||
print "I/O error({0}): {1}".format(e.errno, e.strerror)
|
||||
|
||||
|
@ -232,4 +232,4 @@ class Console(QtCore.QObject):
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
Bungloo()
|
||||
Bungloo()
|
||||
|
|
Reference in a new issue