Skip to content

Commit 85e1d27

Browse files
committed
🐛 修复了一点bug
1 parent 44a0b72 commit 85e1d27

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

cqsat/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ async def _(
3636
event: MessageEvent,
3737
state: T_State,
3838
qth: str = ArgStr("QTH")):
39+
if not Path.exists(LOCAL):
40+
Path.mkdir(LOCAL)
3941
qq = event.user_id
4042
if qth in ["取消", "算了"]:
4143
await sub.finish("已取消操作...")

cqsat/function.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
import re
1010
from typing import Dict
1111

12+
from typing import Optional
13+
1214
from .log import log
1315
from .utils import *
1416
from .path import *

0 commit comments

Comments
 (0)