mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 13:02:15 -07:00
added sumbmodules
This commit is contained in:
parent
ab7fe2e42d
commit
2023661008
1 changed files with 3 additions and 8 deletions
|
@ -426,17 +426,12 @@ class InteractBase(object):
|
||||||
p.daemon = True
|
p.daemon = True
|
||||||
p.start()
|
p.start()
|
||||||
t = time.time()
|
t = time.time()
|
||||||
if 'Override' in self.default_answers:
|
|
||||||
p.terminate()
|
|
||||||
p.join()
|
|
||||||
|
|
||||||
old_stdin = sys.stdin
|
|
||||||
sys.stdin = os.fdopen( os.dup(sys.stdin.fileno()) )
|
|
||||||
old_stdin.close()
|
|
||||||
return True
|
|
||||||
|
|
||||||
inp = False
|
inp = False
|
||||||
while True:
|
while True:
|
||||||
|
if 'Override' in self.default_answers:
|
||||||
|
inp = True
|
||||||
|
break
|
||||||
if not sq.empty():
|
if not sq.empty():
|
||||||
inp = sq.get()
|
inp = sq.get()
|
||||||
break
|
break
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue