Example #1
0
 def save(self, path=None):
     """ Saves the variables to json
     """
     path = path or self.persister_obj_path
     save_dict_to_json(self, path,
                       ['used_desktop_obj', 'used_program_objs'])
     if self.used_desktop:
         self.used_desktop_obj.save()
     for program_name, program_obj in self.used_program_objs.items():
         program_obj.save()
Example #2
0
 def save(self, path=None):
     """ Saves the variables to json
     """
     path = path or self.object_persist_path
     save_dict_to_json(self, path, ['desktop'])
Example #3
0
 def save(self, path=None):
     path = path or self.object_persist_path
     save_dict_to_json(self, path)