Пример #1
0
 def load(self):
     FCStates().load(self, CONFIG_BASE_FILE)
Пример #2
0
 def save(self):
     FCStates().save(self, CONFIG_BASE_FILE)
Пример #3
0
 def load(self):
     FCStates().load(self, CACHE_FILE)
Пример #4
0
 def save(self):
     fcache_save_lock.acquire()
     FCStates().save(self, CACHE_FILE)
     shutil.copy2(CACHE_FILE, CACHE_FILE + "_backup")
     if fcache_save_lock.locked():
         fcache_save_lock.release()
Пример #5
0
 def save(self):
     FCStates().save(self, CONFIG_FILE)
     FCBase().save()
     FCache().save()
Пример #6
0
 def delete(self):
     FCStates().delete(CONFIG_FILE)