X-Git-Url: https://jfr.im/git/z_archive/twitter.git/blobdiff_plain/4a6070c8236f2954d7a1d8f804e3e08adeb963f9..22b472f87c821b89ba5567185561fca4663ea562:/twitter/api.py diff --git a/twitter/api.py b/twitter/api.py index d2df61b..872a974 100644 --- a/twitter/api.py +++ b/twitter/api.py @@ -44,9 +44,8 @@ class TwitterCall(object): or self.uri.endswith('create') or self.uri.endswith('destroy')): method = "POST" - - if (self.agent and self.uri.endswith('update')): - kwargs["source"] = self.agent + if (self.agent): + kwargs["source"] = self.agent encoded_kwargs = urlencode(kwargs.items()) argStr = ""