scan in tasks queue

This commit is contained in:
j 2014-05-28 17:36:26 +02:00
commit 0704e315ba
4 changed files with 5 additions and 6 deletions

View file

@ -35,8 +35,6 @@ class Downloads(Thread):
def run(self):
time.sleep(2)
with self._app.app_context():
import item.scan
item.scan.run_scan()
while self._running:
self.download_next()
time.sleep(0.5)