timed output bug fix
frdel committed
Jul 12, 2024 at 11:04 UTC
453b91a8d82f3b40f1f6ee5029ab5866d1930064
1 file changed
+1
-1
main.py
+1
-1
@@ -151,7 +151,7 @@ def capture_keys():
151
152
# User input with timeout
153
def timeout_input(prompt, timeout=10):
154
- result = []
154
+ result = [""]
155
156
def get_input():
157
result[0] = input(prompt)