Skip to content
Snippets Groups Projects
Commit 2d3f92c4 authored by Travis Rivers's avatar Travis Rivers Committed by Jeremy M Fee
Browse files

fix validate

parent b7b7865a
No related branches found
No related tags found
No related merge requests found
......@@ -327,7 +327,7 @@ def validate_query(query):
WebServiceException
if any parameters are not supported.
"""
if not query.endtime:
if type(query.endtime) == str:
raise WebServiceException(
'Bad end_time value "%s".'
' Valid values are ISO-8601 timestamps.' % query.endtime)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment