Sid72020123 / scratchconnect

Python Library to connect Scratch API and much more.
https://sid72020123.github.io/scratchconnect/
MIT License
25 stars 14 forks source link

Add a new exception for forbidden login #30

Closed Chiroyce1 closed 2 years ago

Chiroyce1 commented 2 years ago

On the forum topic it was reported that Scratch sometimes blocks particular logins, so this adds a new exception to let the user know what happened.

Before

It said that your username or password is incorrect

Now

It says that Scratch is not letting you login from this device.

Please note:

This hasn't been tested, so please only merge if you test it out. Since you were busy I decided to implement this as a very basic solution.

Sid72020123 commented 2 years ago

Thank you so much for the PR! I will test this code when I get time and will merge this. If it fails, I will merge this and fix that error because I want your name on the contriburors list. I usually like people who help me. You are a good coder!