mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-06-06 00:01:20 +08:00
feat: 使用 uvloop 替代 asyncio,引入 model
This commit is contained in:
@@ -8,6 +8,12 @@ DEFAULT_CONFIG_PATH = (
|
||||
else Path(__file__).parent / "config.test.json"
|
||||
)
|
||||
|
||||
DEFAULT_DATABASE_PATH = (
|
||||
Path(__file__).parent / "database.db"
|
||||
if not os.getenv("TESTING")
|
||||
else Path(__file__).parent / "database.test.db"
|
||||
)
|
||||
|
||||
FFMPEG_COMMAND = "ffmpeg"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user