Use isinstance() instead of type comparison
1 file changed