Spaces:
Paused
Paused
Update app.py
Browse files
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 |
-
#
|
16 |
-
cookie_path_dir = "
|
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 |
|