File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ conda_opts () {
266
266
echo " "
267
267
info " Faceswap will be installed inside a Conda Environment. If an environment already\
268
268
exists with the name specified then it will be deleted."
269
- ask " Please specify a name for the Faceswap Conda Environmnet " " ENV_NAME"
269
+ ask " Please specify a name for the Faceswap Conda Environment " " ENV_NAME"
270
270
}
271
271
272
272
faceswap_opts () {
Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ conda_opts () {
298
298
echo " "
299
299
info " Faceswap will be installed inside a Conda Environment. If an environment already\
300
300
exists with the name specified then it will be deleted."
301
- ask " Please specify a name for the Faceswap Conda Environmnet " " ENV_NAME"
301
+ ask " Please specify a name for the Faceswap Conda Environment " " ENV_NAME"
302
302
}
303
303
304
304
faceswap_opts () {
Original file line number Diff line number Diff line change @@ -111,9 +111,8 @@ def test(self) -> bool:
111
111
bool
112
112
``True`` if the key extensions need updating otherwise ``False``
113
113
"""
114
- if self ._alignments .version > 2.4 :
115
- return False
116
-
114
+ # Note: Don't check on alignments file version. It's possible that the file gets updated to
115
+ # a newer version before this check is run
117
116
if self ._extension .lower () not in VIDEO_EXTENSIONS :
118
117
return False
119
118
Original file line number Diff line number Diff line change @@ -1061,7 +1061,7 @@ def _get_multi_help_items(helptext):
1061
1061
if any (line .startswith (" - " ) for line in all_help ):
1062
1062
intro = all_help [0 ]
1063
1063
retval = (intro ,
1064
- {re .sub (r"[^A-Za-z0-9 \-\_]+" , "" ,
1064
+ {re .sub (r"[^\w \-\_]+" , "" ,
1065
1065
line .split ()[1 ].lower ()): " " .join (line .replace ("_" , " " ).split ()[1 :])
1066
1066
for line in all_help if line .startswith (" - " )})
1067
1067
logger .debug ("help items: %s" , retval )
You can’t perform that action at this time.
0 commit comments