scan book folder for changes
This commit is contained in:
parent
046af0e777
commit
08fac3e131
2 changed files with 3 additions and 0 deletions
|
@ -35,6 +35,8 @@ class Downloads(Thread):
|
||||||
def run(self):
|
def run(self):
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
with self._app.app_context():
|
with self._app.app_context():
|
||||||
|
import item.scan
|
||||||
|
item.scan.run_scan()
|
||||||
while self._running:
|
while self._running:
|
||||||
if state.online:
|
if state.online:
|
||||||
self.download_next()
|
self.download_next()
|
||||||
|
|
|
@ -15,6 +15,7 @@ import websocket
|
||||||
import state
|
import state
|
||||||
import node.server
|
import node.server
|
||||||
import oxtornado
|
import oxtornado
|
||||||
|
|
||||||
from item.icons import IconHandler
|
from item.icons import IconHandler
|
||||||
from item.handlers import EpubHandler
|
from item.handlers import EpubHandler
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue