projects
/
qcg-portal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix submitting template with saved walltime
[qcg-portal.git]
/
qcg
/
fields.py
diff --git
a/qcg/fields.py
b/qcg/fields.py
index
73b46f4
..
ef5170a
100644
(file)
--- a/
qcg/fields.py
+++ b/
qcg/fields.py
@@
-9,7
+9,7
@@
class TimeRangeWidget(forms.MultiWidget):
if not value:
return [None, None]
- seconds = value.total_seconds()
+ seconds = int(value.total_seconds())
if seconds % 60 != 0:
return [seconds, TimeRangeField.SECONDS]