projects
/
qcg-portal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e29cd6
)
fix submitting template with saved walltime
author
Maciej Tronowski
<mtro@man.poznan.pl>
Thu, 2 Jul 2015 09:45:01 +0000
(11:45 +0200)
committer
Maciej Tronowski
<mtro@man.poznan.pl>
Thu, 2 Jul 2015 09:45:01 +0000
(11:45 +0200)
qcg/fields.py
patch
|
blob
|
history
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]