This repository has been archived by the owner on Jun 14, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
str()
instead of .message
for exception
In a case where a `KeyError` is raised, the exception is caught, but then it tried to reference `ex.message`, which doesn't exist for KeyErrors in modern versions of Python. Using `str(ex)` should deliver the same result.
- Loading branch information