Spaces:
Runtime error
Runtime error
Commit ·
2dbcb16
1
Parent(s): 12c6ec6
Update persistStorage.py
Browse files- persistStorage.py +5 -0
persistStorage.py
CHANGED
|
@@ -13,6 +13,11 @@ try:
|
|
| 13 |
except:
|
| 14 |
pass
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
# Set the time zone to Pacific Time Zone
|
| 17 |
TIME_ZONE = 'US/Pacific'
|
| 18 |
TIMEZONE_OBJ = pytz.timezone(TIME_ZONE)
|
|
|
|
| 13 |
except:
|
| 14 |
pass
|
| 15 |
|
| 16 |
+
try:
|
| 17 |
+
os.makedirs(RESULT_CSV_DIR, exist_ok=True)
|
| 18 |
+
except:
|
| 19 |
+
pass
|
| 20 |
+
|
| 21 |
# Set the time zone to Pacific Time Zone
|
| 22 |
TIME_ZONE = 'US/Pacific'
|
| 23 |
TIMEZONE_OBJ = pytz.timezone(TIME_ZONE)
|