This commit is contained in:
Womsxd 2022-10-04 20:07:51 +08:00
parent 435376cef4
commit ba913488f0
No known key found for this signature in database
GPG Key ID: 0FE76418EE689B68

View File

@ -44,8 +44,8 @@ config = {
}
path = os.path.dirname(os.path.realpath(__file__)) + "/config"
if os.getenv("AutoMihoyoBBS_path") != "":
path = os.getenv("AutoMihoyoBBS_path")
if os.getenv("AutoMihoyoBBS_config_path") != "":
path = os.getenv("AutoMihoyoBBS_config_path")
config_Path_json = f"{path}/config.json"
config_Path = f"{path}/config.yaml"
def copy_config():