Closed Rayanox closed 5 years ago
sooo, what do i need to do ?
Nothing. It has already been fixed -> https://github.com/instagrambot/instabot/pull/1029
Nothing. It has already been fixed -> #1029
pardon me .. can you tell me what to do to fix the issue?
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (like so [x]).Before submitting an issue, make sure you have:
Purpose of your issue?
The following sections requests more details for particular types of issues, you can remove any section (the contents between the triple ---) not applicable to your issue.
For a bug report, you must include the Python version used, code that will reproduce the error, and the error log/traceback.
Paste the output of
python -V
here:Code:
Error/Debug Log:
I added two custom logs to show the value of 'cookie_username' and 'self.username' just before the assertion.
Describe your issue
When using an account name that contains an "uppercase", the cookie loading fails and throws an assertion error (api_login.py:200). I have just investigate on this issue, using the last version of the scripts, and I found that the username cookie loaded is stored in lowercase, and when checking that it equals my username it fails because there is an uppercase in my username. A simple fix is to force the username to be lower just for the comparison, it's not the best solution but it's still better than the existing code.