diff --git a/scratchattach/site/session.py b/scratchattach/site/session.py index d3714501..5f01838d 100644 --- a/scratchattach/site/session.py +++ b/scratchattach/site/session.py @@ -1091,7 +1091,7 @@ def login(username, password, *, timeout=10) -> Session: session_id = str(re.search('"(.*)"', request.headers["Set-Cookie"]).group()) except (AttributeError, Exception): raise exceptions.LoginFailure( - "Either the provided authentication data is wrong or your network is banned from Scratch.\n\nIf you're using an online IDE (like replit.com) Scratch possibly banned its IP adress. In this case, try logging in with your session id: https://github.com/TimMcCool/scratchattach/wiki#logging-in") + "Either the provided authentication data is wrong or your network is banned from Scratch.\n\nIf you're using an online IDE (like replit.com) Scratch possibly banned its IP address. In this case, try logging in with your session id: https://github.com/TimMcCool/scratchattach/wiki#logging-in") # Create session object: with suppress_login_warning(): @@ -1131,4 +1131,4 @@ def login_by_file(file: FileDescriptorOrPath) -> Session: Login using a path to a file. """ with suppress_login_warning(), open(file, encoding="utf-8") as f: - return login_by_io(f) \ No newline at end of file + return login_by_io(f)