Skip to content

Commit

Permalink
fix: allow node paths for remote paths
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanAbd committed Jul 11, 2023
1 parent f41be27 commit 039619b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion latch/types/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ def _is_valid_url(raw_url: Union[str, Path]) -> bool:
return False
if parsed.scheme not in ("latch", "s3"):
return False
if not parsed.path.startswith("/"):
if parsed.path != "" and not parsed.path.startswith("/"):
return False
return True

0 comments on commit 039619b

Please sign in to comment.