Esempio n. 1
0
 def _forceActiveAuthorsUpdate(self, **kwargs):
     if 'wait' in kwargs:
         dbUpdate(False)
     else:
         threading.Thread(target=dbUpdate,
                          name='API-DBUPDATE',
                          args=[False]).start()
Esempio n. 2
0
 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()
Esempio n. 3
0
 def _forceActiveAuthorsUpdate(self, **kwargs):
     if 'wait' in kwargs:
         updater.dbUpdate(False)
     else:
         threading.Thread(target=updater.dbUpdate, args=[False]).start()
Esempio n. 4
0
 def _forceActiveAuthorsUpdate(self, **kwargs):
     if 'wait' in kwargs:
         updater.dbUpdate(False)
     else:
         threading.Thread(target=updater.dbUpdate, args=[False]).start()
Esempio n. 5
0
 def _forceActiveAuthorsUpdate(self, **kwargs):
     if 'wait' in kwargs:
         dbUpdate(False)
     else:
         threading.Thread(target=dbUpdate, name='API-DBUPDATE', args=[False]).start()