Iwak commited on
Commit ·
7f45073
1
Parent(s): 84e7abf
main.py
CHANGED
|
@@ -57,6 +57,11 @@ def hello_world():
|
|
| 57 |
def upload():
|
| 58 |
data_dir = "/tmp/data"
|
| 59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
if not os.path.exists(data_dir):
|
| 61 |
os.makedirs(data_dir)
|
| 62 |
asyncio.run(update_genshin())
|
|
|
|
| 57 |
def upload():
|
| 58 |
data_dir = "/tmp/data"
|
| 59 |
|
| 60 |
+
if not os.path.exists(data_dir):
|
| 61 |
+
os.makedirs(data_dir)
|
| 62 |
+
|
| 63 |
+
data_dir = "/tmp/langs"
|
| 64 |
+
|
| 65 |
if not os.path.exists(data_dir):
|
| 66 |
os.makedirs(data_dir)
|
| 67 |
asyncio.run(update_genshin())
|