diff --git a/Linux/Bungloo.py b/Linux/Bungloo.py index 004ba6d..9c7f990 100755 --- a/Linux/Bungloo.py +++ b/Linux/Bungloo.py @@ -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() \ No newline at end of file + Bungloo()