summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2021-01-16 18:09:31 (GMT)
committerChristian Pointner <equinox@helsinki.at>2021-01-16 18:09:59 (GMT)
commita6995ab12cb77e43337d6216bd75457d4dea1f5d (patch)
tree5d5e1d428223c0e8f4065239bc790c0e726f48fc
parentcc7a9dd7ced0e8abb1d243d1b9bd733827925e91 (diff)
fix nop int vs strHEADmaster
-rw-r--r--nop/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nop/views.py b/nop/views.py
index 93b16ab..c6c62e1 100644
--- a/nop/views.py
+++ b/nop/views.py
@@ -109,7 +109,7 @@ def get_current(request):
def get(request, year=None, month=None, day=None, hour=None, minute=None):
- response = json.dumps(_bydate(year, month, day, hour, minute))
+ response = json.dumps(_bydate(int(year), int(month), int(day), int(hour), int(minute)))
return HttpResponse(response, content_type='application/json')