constant.py @@ -95,6 +95,8 @@ "passwd": "Yeshi2016@" } LOG_DIR = "logs" # 获取根路径 def get_path_prefix(): return 'D:' if is_windows() else '/home'