Versioning and removing small block of commented code

This commit is contained in:
Madison May
2014-12-20 17:29:56 -05:00
parent 41b84eecec
commit 9c051099b2
4 changed files with 4 additions and 5 deletions
+1 -3
View File
@@ -26,9 +26,7 @@ def api_handler(arg, url, batch=False, auth=None, **kwargs):
json_data = json.dumps(data)
if batch:
url += "/batch"
# if not auth:
# auth = auth_query()
response = requests.post(url, data=json_data, headers=JSON_HEADERS, auth=auth).json()
results = response.get('results', False)
if results is False: