Spaces:
Sleeping
Sleeping
jarajpu
commited on
Commit
·
17f96d3
1
Parent(s):
aa42f75
Adding yesterday match
Browse files
app.py
CHANGED
|
@@ -130,7 +130,7 @@ def is_submission_allowed(match_id):
|
|
| 130 |
# Get the current time in IST
|
| 131 |
current_datetime = datetime.now(tz_IST)
|
| 132 |
|
| 133 |
-
if current_datetime
|
| 134 |
return False
|
| 135 |
else:
|
| 136 |
return True
|
|
|
|
| 130 |
# Get the current time in IST
|
| 131 |
current_datetime = datetime.now(tz_IST)
|
| 132 |
|
| 133 |
+
if current_datetime == match_datetime:
|
| 134 |
return False
|
| 135 |
else:
|
| 136 |
return True
|