Skip to content

Commit

Permalink
This is why I prefer rust
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Feb 9, 2022
1 parent c6f24a4 commit 8da6a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caw/commands/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def download(
Download everything from a ChRIS url.
"""
base_address = api_address(CUBEUrl(url))
if base_address != build_client.address:
if build_client.address is not None and base_address != build_client.address:
if build_client.address != DEFAULT_ADDRESS:
given_address = typer.style(f'--address={build_client.address}',
fg=typer.colors.GREEN, bold=True)
Expand Down

0 comments on commit 8da6a06

Please sign in to comment.