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