X-Git-Url: https://jfr.im/git/z_archive/twitter.git/blobdiff_plain/12bba6aca4b725865d8f411a86c299187a8c3223..b621300b6be21c7d07909b82c3f0319f546731e4:/twitter/api.py diff --git a/twitter/api.py b/twitter/api.py index 19a5615..6271821 100644 --- a/twitter/api.py +++ b/twitter/api.py @@ -77,7 +77,8 @@ def wrap_response(response, headers): __doc__ = TwitterResponse.__doc__ def __init__(self, response): - response_typ.__init__(self, response) + if response_typ is not int: + response_typ.__init__(self, response) TwitterResponse.__init__(self, headers) return WrappedTwitterResponse(response)