summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/mmd/MmdWidgets.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/mmd/MmdWidgets.py b/tools/mmd/MmdWidgets.py
index 44bbe69..7d122ea 100644
--- a/tools/mmd/MmdWidgets.py
+++ b/tools/mmd/MmdWidgets.py
@@ -325,14 +325,14 @@ def indexWidget (lcol, rcol, status, debug_info = False):
debug_info.session_id,
debug_info.ip,
debug_info.user.email,
- time.strftime ('%c', time.localtime (debug_info.status)),
- time.strftime ('%c', time.localtime (debug_info.expires)),
- time.strftime ('%c', time.localtime (debug_info.renewal)),
- time.strftime ('%c', time.localtime (time.strftime ('%s'))),
+ time.strftime ('%c', time.localtime (float (debug_info.status))),
+ time.strftime ('%c', time.localtime (float (debug_info.expires))),
+ time.strftime ('%c', time.localtime (float (debug_info.renewal))),
+ time.strftime ('%c'),
user_location.name,
user_location.longitude,
user_location.latitude,
- time.strftime ('%c', time.localtime (debug_info.satellite.getLatestSSP()['timestamp'])))
+ time.strftime ('%c', time.localtime (float (debug_info.satellite.getLatestSSP()['timestamp']))))
else:
debug = ''