We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f302f5f commit da751f7Copy full SHA for da751f7
schema_salad/ref_resolver.py
@@ -380,7 +380,8 @@ def resolve_ref(self,
380
mixin = None # type: Dict[unicode, Any]
381
382
if not base_url:
383
- ref = pathlib.Path(os.path.join(os.getcwd(), ref)).as_uri()
+ if isinstance(ref, unicode):
384
+ ref = pathlib.Path(os.path.join(os.getcwd(), ref)).as_uri()
385
base_url = pathlib.Path(os.getcwd()).as_uri() + '/'
386
387
sl = SourceLine(obj, None, ValueError)
0 commit comments