Fix startswith check

This commit is contained in:
CatalinVoss 2020-11-12 15:09:42 -08:00
parent 90e2e1f7d2
commit 8f31072998

View File

@ -13,7 +13,7 @@ def is_remote_path(path):
Returns True iff the path is one of the remote formats that this Returns True iff the path is one of the remote formats that this
module supports module supports
""" """
return path.startswith('gs://') or path.starts_with('hdfs://') return path.startswith('gs://') or path.startswith('hdfs://')
def path_exists_remote(path): def path_exists_remote(path):