aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/services/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygithub3/services/base.py')
-rw-r--r--pygithub3/services/base.py2
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):