Commit 2f29d85e by Vik Paruchuri

Finish function to get eta value

parent 59b2f2cc
......@@ -456,6 +456,17 @@ class OpenEndedChild(object):
except:
pass
success = response['success']
if isinstance(success, basestring):
success = (success.lower()=="true")
if success:
eta = controller_query_service.convert_seconds_to_human_readable(response['eta'])
eta_string = "Please check back for your response in approximately "
else:
eta_string = ""
return eta_string
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment