mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-04 02:26:11 +08:00
fix bug
This commit is contained in:
parent
7ff4979f35
commit
144514bbec
@ -9,7 +9,8 @@ import os
|
||||
|
||||
def get_config_path() -> str:
|
||||
if plugin_config.hk_reporter_config_path:
|
||||
return plugin_config.hk_reporter_config_path
|
||||
data_dir = plugin_config.hk_reporter_config_path
|
||||
else:
|
||||
working_dir = os.getcwd()
|
||||
data_dir = path.join(working_dir, 'data')
|
||||
if not path.isdir(data_dir):
|
||||
|
Loading…
x
Reference in New Issue
Block a user