fix parent + url

master
Marek Isalski 3 years ago
parent d18c3c11d8
commit 99983471ae

@ -189,7 +189,7 @@ class APIObject(object):
else:
path = "/%s/" % (cls.URLPART)
if parent:
return (parent + path).replace("//", "/")
return (parent.url() + path).replace("//", "/")
return path
def url(self, parent=None):

Loading…
Cancel
Save