Example #1
0
 def load(self, path=None):
     """ Loads variables from json
     """
     path = path or self.persister_obj_path
     load_dict_from_json(self, path)
     if self.used_desktop:
         self._initialize_desktop_obj()
     self._initialize_program_objects()
     if self.used_desktop:
         self.used_desktop_obj.load()
     for program_name, program_obj in self.used_program_objs.items():
         program_obj.load()
Example #2
0
 def load(self, path=None):
     """ Loads variables from json
     """
     path = path or self.object_persist_path
     load_dict_from_json(self, path)
Example #3
0
 def load(self, path=None):
     path = path or self.object_persist_path
     load_dict_from_json(self, path)