Skip to content
Snippets Groups Projects
Unverified Commit acd9cab2 authored by ChaimZhu's avatar ChaimZhu Committed by GitHub
Browse files

[Fix] fix `is_abs` criterion error (#358)

* fix abs criterion error

* update
parent 936c4ebc
No related branches found
No related tags found
No related merge requests found
......@@ -110,7 +110,7 @@ def is_abs(path: str) -> bool:
Returns:
bool: whether path is an absolute path.
"""
if osp.isabs(path) or path.startswith(('http', 'https', 's3')):
if osp.isabs(path) or path.startswith(('http://', 'https://', 's3://')):
return True
else:
return False
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment