Add scheduler

This commit is contained in:
Richard Chien
2016-12-03 17:16:16 +08:00
parent 7da292e13b
commit e1210c4e5e
6 changed files with 12 additions and 10 deletions

View File

@ -3,7 +3,7 @@ import os
from config import config
class SkipException(BaseException):
class SkipException(Exception):
pass
@ -25,7 +25,7 @@ def get_db_dir():
def get_default_db_path():
return os.path.join(get_db_dir(), 'default.db')
return os.path.join(get_db_dir(), 'default.sqlite')
def get_tmp_dir():