Skip to content

Commit 991735d

Browse files
committed
Fix token command print
It's currently accidentally printing out <Command token> because it's printing the function object instead of the token value
1 parent d4af369 commit 991735d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

surepy/surecli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ async def token(ctx: click.Context, user: str, password: str) -> None:
148148
# await sp.sac.close_session()
149149

150150
console.rule(f"[bold]{user}[/] [#ff1d5e]·[/] [bold]Token[/]", style="#ff1d5e")
151-
console.print(f"[bold]{token}[/]", soft_wrap=True)
151+
console.print(f"[bold]{surepy_token}[/]", soft_wrap=True)
152152
console.rule(style="#ff1d5e")
153153
print()
154154

0 commit comments

Comments
 (0)