Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
tweepy
Commits
686561be
Commit
686561be
authored
Jul 13, 2009
by
Josh Roesslein
Browse files
Fixed error in api.py
parent
58ee4790
Changes
1
Hide whitespace changes
Inline
Side-by-side
api.py
View file @
686561be
...
...
@@ -20,7 +20,7 @@ class API(object):
self
.
classes
=
classes
self
.
username
=
username
def
set_credentials
(
username
,
password
):
def
set_credentials
(
self
,
username
,
password
):
self
.
_b64up
=
base64
.
b64encode
(
'%s:%s'
%
(
username
,
password
))
self
.
username
=
username
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment