Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated __init__py to add 'scope' in kwargs

  • Loading branch information...
commit 3995420d5f27c4822544237d88bfca5b74da61b7 1 parent c502261
@stancke authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.