Fix a bug cause gistfile.content None. (#486)

Fixes #485 

See issue: https://github.com/PyGithub/PyGithub/issues/485
This commit is contained in:
2018-08-15 15:14:24 +08:00
committed by Wan Liuyang
parent cf05688359
commit e1df09f7a6
+1 -1
View File
@@ -94,7 +94,7 @@ class Gist(github.GithubObject.CompletableGithubObject):
"""
:type: dict of string to :class:`github.GistFile.GistFile`
"""
self._completeIfNotSet(self._files)
self._completeIfNeeded()
return self._files.value
@property