bugfix on error path

This commit is contained in:
Jude Nelson
2017-06-20 23:53:32 -04:00
parent 56fadd3b5e
commit 51c72d66b5

View File

@@ -281,7 +281,7 @@ def get_url_type(url):
if len(urlpath_parts) != 2:
log.error("Invalid URL {}".format(url))
return None
return None, None
if urlpath_parts[0] == 'blockstack':
return ('blockstack', urlpath_parts[1])