summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--anidb.py2
-rw-r--r--pyanidb/__init__.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/anidb.py b/anidb.py
index b354c2d..81f6850 100644
--- a/anidb.py
+++ b/anidb.py
@@ -76,7 +76,7 @@ if options.login:
if not options.username:
options.username = raw_input('Username: ')
if not options.password:
- options.passord = getpass.getpass()
+ options.password = getpass.getpass()
# Input files.
diff --git a/pyanidb/__init__.py b/pyanidb/__init__.py
index ccb8a89..81311f7 100644
--- a/pyanidb/__init__.py
+++ b/pyanidb/__init__.py
@@ -59,7 +59,7 @@ class AniDB:
self.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
self.sock.bind(('0.0.0.0', localport))
self.sock.settimeout(10)
- self.username = username.lower()
+ self.username = username
self.password = password
self.server = server
self.session = ''