mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-27 08:11:38 +00:00
Add scheduler
This commit is contained in:
@ -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():
|
||||
|
Reference in New Issue
Block a user