(*args, **kwargs)
| 78 | |
| 79 | |
| 80 | def threaded_input(*args, **kwargs): |
| 81 | data = [] |
| 82 | thread = threading.Thread( |
| 83 | target=lambda: data.append(input(*args, **kwargs)), args=[] |
| 84 | ) |
| 85 | thread.start() |
| 86 | try: |
| 87 | while thread.is_alive(): |
| 88 | p.getMouseEvents() |
| 89 | finally: |
| 90 | thread.join() |
| 91 | return data[-1] |
| 92 | |
| 93 | |
| 94 | def get_previous_log_folder(base_dir): |
nothing calls this directly
no outgoing calls
no test coverage detected