def _forceActiveAuthorsUpdate(self, **kwargs): if 'wait' in kwargs: dbUpdate(False) else: threading.Thread(target=dbUpdate, name='API-DBUPDATE', args=[False]).start()
def _forceActiveAuthorsUpdate(self, **kwargs): refresh=False if 'refresh' in kwargs: refresh=True if 'wait' in kwargs: dbUpdate(refresh=refresh) else: threading.Thread(target=dbUpdate, name='API-DBUPDATE', args=[refresh]).start()
def _forceActiveAuthorsUpdate(self, **kwargs): if 'wait' in kwargs: updater.dbUpdate(False) else: threading.Thread(target=updater.dbUpdate, args=[False]).start()