Fix bulkdata bug checking for paths ending in /
This commit is contained in:
parent
349eec3942
commit
fa011559c1
|
@ -85,7 +85,7 @@ class BulkData(object):
|
|||
return path
|
||||
|
||||
def _create_check_ospath(self, ospath):
|
||||
if ospath[-1] == b'/':
|
||||
if ospath[-1:] == b'/':
|
||||
raise ValueError("invalid path; should not end with a /")
|
||||
if Table.exists(ospath):
|
||||
raise ValueError("stream already exists at this path")
|
||||
|
|
Loading…
Reference in New Issue
Block a user