From d81b37dc2282f9c53d9aebe1255d300941440f97 Mon Sep 17 00:00:00 2001 From: dziczeczek Date: Tue, 28 Jun 2016 00:37:28 +0200 Subject: [PATCH] Repair mistake in database attribute --- pyArango/collection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyArango/collection.py b/pyArango/collection.py index a2b3d66..615fffa 100644 --- a/pyArango/collection.py +++ b/pyArango/collection.py @@ -241,7 +241,7 @@ def __init__(self, database, jsonData) : def getIndexes(self) : """Fills self.indexes with all the indexes associates with the collection and returns it""" - url = "%s/index" % self.database.url + url = "%s/index" % self.database.URL r = self.connection.session.get(url, params = {"collection": self.name}) data = r.json() for ind in data["indexes"] :