mirror of
https://github.com/wassname/IndicoIo-python.git
synced 2026-09-09 11:14:32 +08:00
Versioning and removing small block of commented code
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user