def _cleanCache(self, **kwargs): if 'wait' in kwargs: cleanCache() else: threading.Thread(target=cleanCache, name='API-CLEANCACHE', args=[]).start()
def _cleanCache(self, **kwargs): if 'wait' in kwargs: common.cleanCache() else: threading.Thread(target=common.cleanCache, args=[]).start()
def _cleanCache(self, **kwargs): if 'wait' in kwargs: self.data = cleanCache() else: threading.Thread(target=cleanCache, name='API-CLEANCACHE', args=[]).start()