Skip to content

Commit

Permalink
Added some debugging statements for windows !wip
Browse files Browse the repository at this point in the history
  • Loading branch information
coordt committed May 5, 2024
1 parent 7c59fc2 commit 8061547
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cookie_composer/templates/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ def identify_repo(url: str, local_path: Optional[Path] = None) -> Tuple[Template
"""Identify the repo format and locality from the URL."""
parsed_url = urlparse(url)
locality = Locality.LOCAL if parsed_url.scheme in {"", "file"} else Locality.REMOTE

print(locality)
print(parsed_url.scheme)
if url.endswith(".zip"):
return TemplateFormat.ZIP, locality

Expand Down

0 comments on commit 8061547

Please sign in to comment.