mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 13:02:15 -07:00
_
This commit is contained in:
parent
c900c65c31
commit
27e24d5d28
4 changed files with 9 additions and 25 deletions
|
@ -357,8 +357,6 @@ class InteractBase(object):
|
|||
return result
|
||||
|
||||
def input_process(self, stdin_fd, sq, str):
|
||||
from core import osex
|
||||
osex.linux_ignore_UserWarning()
|
||||
sys.stdin = os.fdopen(stdin_fd)
|
||||
try:
|
||||
inp = input (str)
|
||||
|
@ -387,9 +385,6 @@ class InteractBase(object):
|
|||
return inp
|
||||
|
||||
def input_process_skip_pending(self, stdin_fd):
|
||||
from core import osex
|
||||
osex.linux_ignore_UserWarning()
|
||||
|
||||
sys.stdin = os.fdopen(stdin_fd)
|
||||
while True:
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue