Skip to content

Commit 3e9914a

Browse files
Fix typo: IP adress -> IP address (#352)
* Fix typo: IP adress -> IP address Signed-off-by: 50-scratch-tabs <197407676+50-scratch-tabs@users.noreply.github.com> * Update session.py Signed-off-by: TheCommCraft <79996518+TheCommCraft@users.noreply.github.com> * Update session.py Signed-off-by: TheCommCraft <79996518+TheCommCraft@users.noreply.github.com> --------- Signed-off-by: 50-scratch-tabs <197407676+50-scratch-tabs@users.noreply.github.com> Signed-off-by: TheCommCraft <79996518+TheCommCraft@users.noreply.github.com> Co-authored-by: TheCommCraft <79996518+TheCommCraft@users.noreply.github.com>
1 parent 1be22b8 commit 3e9914a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scratchattach/site/session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ def login(username, password, *, timeout=10) -> Session:
10911091
session_id = str(re.search('"(.*)"', request.headers["Set-Cookie"]).group())
10921092
except (AttributeError, Exception):
10931093
raise exceptions.LoginFailure(
1094-
"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")
1094+
"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")
10951095

10961096
# Create session object:
10971097
with suppress_login_warning():
@@ -1131,4 +1131,4 @@ def login_by_file(file: FileDescriptorOrPath) -> Session:
11311131
Login using a path to a file.
11321132
"""
11331133
with suppress_login_warning(), open(file, encoding="utf-8") as f:
1134-
return login_by_io(f)
1134+
return login_by_io(f)

0 commit comments

Comments
 (0)