mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 21:12:07 -07:00
_
This commit is contained in:
parent
6d122fd742
commit
cbff72f597
1 changed files with 1 additions and 3 deletions
|
@ -359,9 +359,7 @@ class InteractBase(object):
|
||||||
def input_process(self, stdin_fd, sq, str):
|
def input_process(self, stdin_fd, sq, str):
|
||||||
sys.stdin = os.fdopen(stdin_fd)
|
sys.stdin = os.fdopen(stdin_fd)
|
||||||
try:
|
try:
|
||||||
print(str, end='\r')
|
inp = input (str)
|
||||||
stdex.suppress_stdout_stderr().__enter__()
|
|
||||||
inp = input ()
|
|
||||||
sq.put (True)
|
sq.put (True)
|
||||||
except:
|
except:
|
||||||
sq.put (False)
|
sq.put (False)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue