-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix ValueError: invalid mode: 'rUb' #69
Comments
Full error generated with Python 3.11: E:\GOG Games>gogrepo.py update |
Thanks. Will fix this. |
Just as a quick fix for anyone having this problem, at least on linux systems, find the line and replace 'rU' with 'r' (simply remove the U), and it should work again. |
Just tried the fix from @WisdomCode on my Windows10 system and found that removing the U was enough; adding a newline argument returned |
Worked for me as well on Windows, thanks! |
File mode
U
is deprecated in Python 3 https://docs.python.org/3/library/functions.html#openThe text was updated successfully, but these errors were encountered: