Replace type() checks with isinstance()
Fixes the bug I introduced in my previous commit (six.string_types is (basestring,) on Python 2). Thanks @abadger for noticing!
Showing
Please
register
or
sign in
to comment
Fixes the bug I introduced in my previous commit (six.string_types is (basestring,) on Python 2). Thanks @abadger for noticing!