Ejemplo n.º 1
0
 def rescan():
     if 'rescan' not in config.RUNNING:
         rsc = Rescan(session, 'rescan')
         rsc.serialize = False
         config.slow_worker.add_task(None, 'Rescan', rsc.run)
Ejemplo n.º 2
0
 def rescan():
     if 'rescan' not in config._running:
         rsc = Rescan(session, 'rescan')
         rsc.serialize = False
         config.slow_worker.add_task(None, 'Rescan', rsc.run)
Ejemplo n.º 3
0
 def rescan():
     if "rescan" not in config.RUNNING:
         rsc = Rescan(session, "rescan")
         rsc.serialize = False
         config.slow_worker.add_task(None, "Rescan", rsc.run)
Ejemplo n.º 4
0
 def rescan():
     if 'rescan' not in config._running:
         rsc = Rescan(session, 'rescan')
         rsc.serialize = False
         config.slow_worker.add_task(session, 'Rescan', rsc.run)
Ejemplo n.º 5
0
 def rescan():
     if "rescan" not in config._running:
         rsc = Rescan(session, "rescan")
         rsc.serialize = False
         config.slow_worker.add_task(session, "Rescan", rsc.run)