Skip to content

Commit 84a4197

Browse files
committed
Fix duplicate totp.now() call
1 parent 389db9d commit 84a4197

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/bna

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def show(ctx: click.Context, serial: str, interactive: bool) -> None:
166166
click.echo("Ctrl-C to exit")
167167
while True:
168168
token = totp.now()
169-
sys.stdout.write("\r" + totp.now())
169+
sys.stdout.write("\r" + token)
170170
sys.stdout.flush()
171171
sleep(1)
172172
else:

0 commit comments

Comments
 (0)