Fixed CustomApi so that _username is defined

This commit is contained in:
Anna 2010-05-21 12:11:57 -04:00
parent 1a98de805f
commit f7696e2d67
3 changed files with 3 additions and 3 deletions

View file

@ -114,7 +114,6 @@ class OAuthApi(Api):
encoded_post_data = None
req_url = req.to_url()
# Open and return the URL immediately if we're not going to cache
# OR we are posting data
if encoded_post_data or no_cache or not self._cache or not self._cache_timeout: