Skip to content

Commit 0f94779

Browse files
committed
bugfix: Alignments remove version check for video file extension update
- Typofixes
1 parent be42b04 commit 0f94779

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

.install/linux/faceswap_setup_x64.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ conda_opts () {
266266
echo ""
267267
info "Faceswap will be installed inside a Conda Environment. If an environment already\
268268
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"
270270
}
271271

272272
faceswap_opts () {

.install/macos/faceswap_setup_macos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ conda_opts () {
298298
echo ""
299299
info "Faceswap will be installed inside a Conda Environment. If an environment already\
300300
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"
302302
}
303303

304304
faceswap_opts () {

lib/align/updater.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,8 @@ def test(self) -> bool:
111111
bool
112112
``True`` if the key extensions need updating otherwise ``False``
113113
"""
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
117116
if self._extension.lower() not in VIDEO_EXTENSIONS:
118117
return False
119118

lib/gui/control_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ def _get_multi_help_items(helptext):
10611061
if any(line.startswith(" - ") for line in all_help):
10621062
intro = all_help[0]
10631063
retval = (intro,
1064-
{re.sub(r"[^A-Za-z0-9\-\_]+", "",
1064+
{re.sub(r"[^\w\-\_]+", "",
10651065
line.split()[1].lower()): " ".join(line.replace("_", " ").split()[1:])
10661066
for line in all_help if line.startswith(" - ")})
10671067
logger.debug("help items: %s", retval)

0 commit comments

Comments
 (0)