Skip to content

Commit

Permalink
fix(eos_downloader.cli): Code linting
Browse files Browse the repository at this point in the history
  • Loading branch information
titom73 committed Feb 6, 2025
1 parent d970e3f commit ad25726
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions eos_downloader/cli/get/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ def cvp(
show_envvar=True,
)
@click.pass_context
# pylint: disable=too-many-branches
def path(
ctx: click.Context,
output: str,
Expand Down Expand Up @@ -343,6 +344,10 @@ def path(
console.print(f"\n[red]Exception raised: {e}[/red]")
return 1

if file_url is None:
console.print("File URL is set to None when we expect a string")
return 1

cli = SoftManager(dry_run=False)

try:
Expand Down

0 comments on commit ad25726

Please sign in to comment.