Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Updated __init__py to add 'scope' in kwargs #9

Open
wants to merge 1 commit into from

1 participant

Commits on Oct 18, 2011
  1. @stancke
This page is out of date. Refresh to see the latest.
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)
Something went wrong with that request. Please try again.