scan book folder for changes

This commit is contained in:
j 2014-05-22 00:50:59 +02:00
parent 046af0e777
commit 08fac3e131
2 changed files with 3 additions and 0 deletions

View File

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

View File

@ -15,6 +15,7 @@ import websocket
import state
import node.server
import oxtornado
from item.icons import IconHandler
from item.handlers import EpubHandler