scan in tasks queue
This commit is contained in:
parent
8ab68826b5
commit
0704e315ba
4 changed files with 5 additions and 6 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue