aboutsummaryrefslogtreecommitdiffstats
path: root/templating/templating.py
diff options
context:
space:
mode:
Diffstat (limited to 'templating/templating.py')
-rwxr-xr-xtemplating/templating.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/templating/templating.py b/templating/templating.py
index 7b91806..340c54b 100755
--- a/templating/templating.py
+++ b/templating/templating.py
@@ -8,7 +8,7 @@ endpoints = "read/oplog read/snmp read/switches-management public/config public/
objects = dict()
def getEndpoint(endpoint):
- r = requests.get("http://gondul-front:/api/%s" % endpoint, auth=('demo','demo'))
+ r = requests.get("http://gondul-front:/api/%s" % endpoint)
if (r.status_code != 200):
raise Exception("Bad status code for endpoint %s: %s" % (endpoint, r.status_code))
return r.json()