tianlong12 commited on
Commit
64816e4
·
verified ·
1 Parent(s): f6190d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,8 +12,8 @@ PASSWD = os.getenv("PASSWD")
12
  if not EMAIL or not PASSWD:
13
  raise Exception("EMAIL or PASSWD environment variables are not set")
14
 
15
- # 确保 cookies 目录存在
16
- cookie_path_dir = "./cookies/"
17
  if not os.path.exists(cookie_path_dir):
18
  os.makedirs(cookie_path_dir)
19
 
 
12
  if not EMAIL or not PASSWD:
13
  raise Exception("EMAIL or PASSWD environment variables are not set")
14
 
15
+ # 使用 /tmp/cookies 目录
16
+ cookie_path_dir = "/tmp/cookies/"
17
  if not os.path.exists(cookie_path_dir):
18
  os.makedirs(cookie_path_dir)
19