Commit 78c85384 authored by Benjamin Peterson's avatar Benjamin Peterson

fix typo

parent 5dd3caed
......@@ -521,7 +521,7 @@ def build_opener(*handlers):
skip = set()
for klass in default_classes:
for check in handlers:
if instance(check, type):
if isinstance(check, type):
if issubclass(check, klass):
skip.add(klass)
elif isinstance(check, klass):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment