mirror of
https://github.com/TDSCDMAA/AutoMihoyoBBS.git
synced 2026-06-10 14:12:31 +08:00
edit
This commit is contained in:
parent
435376cef4
commit
ba913488f0
@ -44,8 +44,8 @@ config = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
path = os.path.dirname(os.path.realpath(__file__)) + "/config"
|
path = os.path.dirname(os.path.realpath(__file__)) + "/config"
|
||||||
if os.getenv("AutoMihoyoBBS_path") != "":
|
if os.getenv("AutoMihoyoBBS_config_path") != "":
|
||||||
path = os.getenv("AutoMihoyoBBS_path")
|
path = os.getenv("AutoMihoyoBBS_config_path")
|
||||||
config_Path_json = f"{path}/config.json"
|
config_Path_json = f"{path}/config.json"
|
||||||
config_Path = f"{path}/config.yaml"
|
config_Path = f"{path}/config.yaml"
|
||||||
def copy_config():
|
def copy_config():
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user