diff options
author | 2012-02-12 23:37:11 +0100 | |
---|---|---|
committer | 2012-02-12 23:37:11 +0100 | |
commit | ccbfd48f42103de18eb60e99340de3a27e49447f (patch) | |
tree | b4f10446e70137201280e590ed1fada069e4bb71 | |
parent | Repos service initialized (diff) | |
download | python-github3-ccbfd48f42103de18eb60e99340de3a27e49447f.tar.xz python-github3-ccbfd48f42103de18eb60e99340de3a27e49447f.zip |
Fix bug of bug related
-rw-r--r-- | pygithub3/services/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygithub3/services/base.py b/pygithub3/services/base.py index c659470..3c81f84 100644 --- a/pygithub3/services/base.py +++ b/pygithub3/services/base.py @@ -62,7 +62,7 @@ class Base(object): """ input_data = request.get_body() or '' response = self._client.put(request, data=input_data, **kwargs) - if response.status_code != '204': # != NO_CONTENT + if response.status_code != 204: # != NO_CONTENT return request.resource.loads(response.content) def _delete(self, request, **kwargs): |