Skip to content

Commit

Permalink
Fix: Solved code quality issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
nesitor committed Apr 17, 2024
1 parent d1026d1 commit 040d1a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/aleph_client/commands/domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ async def attach_resource(
item_hash = Prompt.ask("Enter Hash reference of the resource to attach")

while not spa:
spa = Prompt.ask("It is an SPA application?", choices=["y", "n"], default="n")
is_spa: str = Prompt.ask("It is an SPA application?", choices=["y", "n"], default="n")
spa = True if is_spa == "y" else False

table = Table(title=f"Attach resource to: {fqdn}")
table.add_column("Current resource", justify="right", style="red", no_wrap=True)
Expand Down

0 comments on commit 040d1a0

Please sign in to comment.