mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-05 04:02:21 +00:00
Tidying
This commit is contained in:
1 parent
60c5193943
commit
7feaabe764
1 file changed
+3
-2
+3
-2
@@ -25,9 +25,10 @@ def _waitForKeypress(timeout: int, debug: bool) -> str:
|
||||
i, o, e = select.select([sys.stdin], [], [], timeout)
|
||||
|
||||
if (i):
|
||||
text = sys.stdin.readline().strip()
|
||||
if debug:
|
||||
print("Text entered: " + sys.stdin.readline().strip())
|
||||
return sys.stdin.readline().strip()
|
||||
print("Text entered: " + text)
|
||||
return text
|
||||
else:
|
||||
if debug:
|
||||
print("Timeout")
|
||||
|
||||
Reference in new issue
Block a user