Skip to content

Commit 09df421

Browse files
authored
Merge pull request #15 from dziczeczek/master
Repair mistake in database attribute
2 parents b890251 + d81b37d commit 09df421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyArango/collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def __init__(self, database, jsonData) :
241241

242242
def getIndexes(self) :
243243
"""Fills self.indexes with all the indexes associates with the collection and returns it"""
244-
url = "%s/index" % self.database.url
244+
url = "%s/index" % self.database.URL
245245
r = self.connection.session.get(url, params = {"collection": self.name})
246246
data = r.json()
247247
for ind in data["indexes"] :

0 commit comments

Comments
 (0)