goes with previous commit
This commit is contained in:
@ -174,7 +174,7 @@ def open_uri(uri,
|
||||
dms_only=False,
|
||||
force_file=False):
|
||||
|
||||
if not uri.isascii():
|
||||
if type(uri) == str and not uri.isascii():
|
||||
raise Exception("Paths must be ASCII characters only")
|
||||
|
||||
cdef bytes urib = tobytes(uri)
|
||||
|
Reference in New Issue
Block a user