Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
ad7fdeb
1
Parent(s):
a8b78c8
logging
Browse files- src/submission/submit.py +2 -0
src/submission/submit.py
CHANGED
@@ -46,6 +46,8 @@ def add_new_solutions(
|
|
46 |
# Extract timestamp string (first two parts)
|
47 |
ts_str = "_".join(sid.split("_", 2)[:2])
|
48 |
|
|
|
|
|
49 |
ts = datetime.strptime(ts_str, "%Y%m%d_%H%M%S").replace(tzinfo=timezone.utc)
|
50 |
if past_user_id == user_id:
|
51 |
if user_last_submission_date is None:
|
|
|
46 |
# Extract timestamp string (first two parts)
|
47 |
ts_str = "_".join(sid.split("_", 2)[:2])
|
48 |
|
49 |
+
logger.info(f"Comparing past user: {past_user_id} with current user ID: {user_id}")
|
50 |
+
|
51 |
ts = datetime.strptime(ts_str, "%Y%m%d_%H%M%S").replace(tzinfo=timezone.utc)
|
52 |
if past_user_id == user_id:
|
53 |
if user_last_submission_date is None:
|