Commit 4bc149c1 authored by Josh Roesslein's avatar Josh Roesslein
Browse files

A few fixes.

parent 75fc30f7
......@@ -10,7 +10,7 @@ class API(object):
def __init__(self, username=None, password=None, host='twitter.com', secure=False,
classes={'user': User, 'status': Status}):
if username and password:
self._b64up = base64.encode('%s:%s' % (username, password))
self._b64up = base64.b64encode('%s:%s' % (username, password))
else:
self._b64up = None
self.host = host
......
import httplib
import urllib
from parsers import parse_error
from error import TweepError
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment