Skip to content
Snippets Groups Projects
Commit 8a4edb7a authored by Quentin Bramas's avatar Quentin Bramas
Browse files

Merge branch 'master' of git.unistra.fr:bramas/live-qcm

parents 9b852d87 a5c6dd59
Branches
Tags
No related merge requests found
Pipeline #356083 passed with stages
in 1 minute and 10 seconds
......@@ -178,8 +178,8 @@ def sudo_result(data):
lastAnswerDate = data['userInfo'][user_name]['lastAnswerDate']
print(','.join([
user_name,
datetime.fromtimestamp(lastAnswerDate // 1_000).isoformat(),
datetime.fromtimestamp(data['userInfo'][user_name]['startOfflineTime'] // 1_000).isoformat(),
datetime.fromtimestamp(lastAnswerDate // 1_000).isoformat(),
json.dumps(data['answers'][str(user_id)])
]))
else:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment