import books from import folder, fixes #136

This commit is contained in:
j 2016-01-18 17:32:42 +05:30
commit 75fd720b19
4 changed files with 32 additions and 11 deletions

View file

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
import os
from queue import Queue
from threading import Thread
@ -36,6 +36,8 @@ class Tasks(Thread):
export_list(data)
elif action == 'scan':
item.scan.run_scan()
elif action == 'scanimport':
item.scan.import_folder()
elif action == 'peering':
update_user_peering(*data)
else: