diff --git a/instagram_web_api/client.py b/instagram_web_api/client.py index d4a1127b..d1a03c7f 100644 --- a/instagram_web_api/client.py +++ b/instagram_web_api/client.py @@ -198,7 +198,8 @@ def generate_request_signature(self, query): csrf_token=self.csrftoken, variables=query.get('variables') ).encode('utf-8')) - return m.hexdigest() + return m.hexdigest() + return None def _make_request(self, url, params=None, headers=None, query=None, return_response=False, get_method=None):