clodius
clodius copied to clipboard
Fixed checking of types
Description
What was changed in this pull request?
Checking types should be done with isinstance or is and not==. This PR fixes that.
Why is it necessary? It is the canonical way and also the flake8 warns about it.
Fixes #___
Checklist
- [ ] Unit tests added or updated
- [ ] Updated CHANGELOG.md
- [ ] Run
black .