Fix Organization display name

This commit is contained in:
Wan Liuyang
2018-08-21 15:25:56 +08:00
parent ae5cdb285e
commit 7c73d8de4e
+1 -1
View File
@@ -59,7 +59,7 @@ class Organization(github.GithubObject.CompletableGithubObject):
"""
def __repr__(self):
return self.get__repr__({"id": self._id.value, "name": self._name.value})
return self.get__repr__({"login": self._login.value})
@property
def avatar_url(self):