Skip to content

Commit

Permalink
更新一个提示
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonVanke committed May 30, 2021
1 parent b209329 commit c2612d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,9 @@ def main():
if __name__ == '__main__':
# 忽略警告
requests.packages.urllib3.disable_warnings()

if not os.path.exists(get_file_path("config.yaml")):
print(to_log("ERROR", "未找到配置`config.yaml`", "请查看 https://github.com/AntonVanke/JDBrandMember"))
sys.exit()
CONFIG = yaml.safe_load(open(get_file_path("config.yaml"), "r"))

process = [0, 0, 0]
Expand Down

0 comments on commit c2612d7

Please sign in to comment.