MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / print_code

Method print_code

keepercommander/commands/record_totp.py:125–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123 done = False
124
125 def print_code():
126 nonlocal tmer
127 if not done:
128 TotpCommand.display_code(totp_url)
129 tmer = threading.Timer(1, print_code).start()
130
131 try:
132 print('Press <Enter> to exit\n')

Callers

nothing calls this directly

Calls 2

display_codeMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected