Update main.py

This commit is contained in:
Anmol Pratap Singh
2020-07-27 02:14:34 +05:30
committed by GitHub
parent ebf4a25c3d
commit b0e95e8d62

View File

@@ -81,7 +81,7 @@ def run_v3_api(query):
return request.json()
else:
raise Exception(
"Query failed to run by returning code of {}. {},... {}".format(request.status_code, query, request.json()))
"Query failed to run by returning code of {}. {},... {}".format(request.status_code, query, str(request.json())))
def run_query(query):