Spaces:
Runtime error
Runtime error
Commit
•
946e905
1
Parent(s):
08072ed
Update app.py
Browse files
app.py
CHANGED
@@ -30,5 +30,8 @@ def read_route(number: int):
|
|
30 |
|
31 |
data['deneme'] = number
|
32 |
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
|
30 |
|
31 |
data['deneme'] = number
|
32 |
|
33 |
+
with open('cookies.json', 'w', encoding = 'utf-8') as file:
|
34 |
+
|
35 |
+
json.dump(data, file, ensure_ascii = False, indent = 4)
|
36 |
+
|
37 |
+
return JSONResponse(status_code = 200, content = 'ok')
|