()
| 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') |
nothing calls this directly
no test coverage detected