Skip to content

Commit

Permalink
Fix UnboundLocalError
Browse files Browse the repository at this point in the history
  • Loading branch information
ping committed Apr 11, 2018
1 parent ee95d7a commit fe52713
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion instagram_web_api/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit fe52713

Please sign in to comment.