Skip to content
Browse files

Updated __init__py to add 'scope' in kwargs

  • Loading branch information...
1 parent c502261 commit 3995420d5f27c4822544237d88bfca5b74da61b7 @stancke committed Oct 17, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 liclient/__init__.py
View
2 liclient/__init__.py
@@ -114,6 +114,8 @@ def get_network_updates(self, access_token, **kwargs):
kwargs['before'] = self.dt_obj_to_string(kwargs['before']) if kwargs['before'] else None
if 'after' in kwargs.keys():
kwargs['after'] = self.dt_obj_to_string(kwargs['after']) if kwargs['after'] else None
+ if 'scope' in kwargs.keys():
+ kwargs['scope'] = self.dt_obj_to_string(kwargs['scope']) if kwargs['scope'] else None
user_token, url = self.prepare_request(access_token, self.api_network_update_url, kwargs)
client = oauth.Client(self.consumer, user_token)

0 comments on commit 3995420

Please sign in to comment.
Something went wrong with that request. Please try again.