Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -37,11 +37,11 @@ def asubmit(aparam):
|
|
37 |
|
38 |
abacklogmax = 10
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
if ("0" != ""):
|
46 |
atimezone = os.environ['TZ']
|
47 |
# os.environ['TZ'] = 'Europe/London'
|
|
|
37 |
|
38 |
abacklogmax = 10
|
39 |
|
40 |
+
atoday = datetime.date.today()
|
41 |
+
ayear = int(atoday.strftime("%Y"))-0
|
42 |
+
amonth = int(atoday.strftime("%m"))
|
43 |
+
amonthday = int(atoday.strftime("%d"))
|
44 |
+
|
45 |
if ("0" != ""):
|
46 |
atimezone = os.environ['TZ']
|
47 |
# os.environ['TZ'] = 'Europe/London'
|