diff options
-rw-r--r-- | anidb.py | 2 | ||||
-rw-r--r-- | pyanidb/__init__.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 = '' |