bacnet/bacnet.py
changeset 2353 8f1a2846b2f5
parent 2250 86f61c4dfe76
child 2425 68e7da937162
--- a/bacnet/bacnet.py	Fri Sep 28 13:21:06 2018 +0300
+++ b/bacnet/bacnet.py	Fri Sep 28 17:14:42 2018 +0300
@@ -416,7 +416,7 @@
             self.ObjTables["MSO_Obj"].ChangesToSave = False
             self.ObjTables["MSI_Obj"].ChangesToSave = False
             return True
-        except:
+        except Exception:
             return _("Unable to save to file \"%s\"!") % filepath
 
     def LoadFromFile(self, filepath):
@@ -426,7 +426,7 @@
             self.ObjTablesData = pickle.load(fd)
             fd.close()
             return True
-        except:
+        except Exception:
             return _("Unable to load file \"%s\"!") % filepath
 
     def _ExportBacnetSlave(self):