mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-08 05:51:40 -07:00
fix
This commit is contained in:
parent
c9da4cd89b
commit
ab8d03b4bb
1 changed files with 7 additions and 1 deletions
|
@ -244,9 +244,15 @@ class InteractBase(object):
|
||||||
print (help_message)
|
print (help_message)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if (valid_list is not None) and (inp.lower() not in valid_list):
|
if valid_list is not None:
|
||||||
return default_value
|
if inp.lower() in valid_list:
|
||||||
|
return inp.lower()
|
||||||
|
if inp in valid_list:
|
||||||
return inp
|
return inp
|
||||||
|
return default_value
|
||||||
|
|
||||||
|
return inp
|
||||||
|
|
||||||
except:
|
except:
|
||||||
print (default_value)
|
print (default_value)
|
||||||
return default_value
|
return default_value
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue