Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wmllint: fixed an error when trying to check if a file is a savegame
The error was caused by the fact that opening a file with codecs.open() is much stricter than using open(mode=rb), and throws a UnicodeDecodeError if a file can't be read as UTF-8 - which is the case for binary files.
- Loading branch information