diff -r fec90dc70e16 -r 8f1a2846b2f5 bacnet/bacnet.py --- 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):