Skip to content

Commit

Permalink
bugfix: Alignments remove version check for video file extension update
Browse files Browse the repository at this point in the history
- Typofixes
  • Loading branch information
torzdf committed Apr 21, 2024
1 parent be42b04 commit 0f94779
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .install/linux/faceswap_setup_x64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ conda_opts () {
echo ""
info "Faceswap will be installed inside a Conda Environment. If an environment already\
exists with the name specified then it will be deleted."
ask "Please specify a name for the Faceswap Conda Environmnet" "ENV_NAME"
ask "Please specify a name for the Faceswap Conda Environment" "ENV_NAME"
}

faceswap_opts () {
Expand Down
2 changes: 1 addition & 1 deletion .install/macos/faceswap_setup_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ conda_opts () {
echo ""
info "Faceswap will be installed inside a Conda Environment. If an environment already\
exists with the name specified then it will be deleted."
ask "Please specify a name for the Faceswap Conda Environmnet" "ENV_NAME"
ask "Please specify a name for the Faceswap Conda Environment" "ENV_NAME"
}

faceswap_opts () {
Expand Down
5 changes: 2 additions & 3 deletions lib/align/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,8 @@ def test(self) -> bool:
bool
``True`` if the key extensions need updating otherwise ``False``
"""
if self._alignments.version > 2.4:
return False

# Note: Don't check on alignments file version. It's possible that the file gets updated to
# a newer version before this check is run
if self._extension.lower() not in VIDEO_EXTENSIONS:
return False

Expand Down
2 changes: 1 addition & 1 deletion lib/gui/control_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ def _get_multi_help_items(helptext):
if any(line.startswith(" - ") for line in all_help):
intro = all_help[0]
retval = (intro,
{re.sub(r"[^A-Za-z0-9\-\_]+", "",
{re.sub(r"[^\w\-\_]+", "",
line.split()[1].lower()): " ".join(line.replace("_", " ").split()[1:])
for line in all_help if line.startswith(" - ")})
logger.debug("help items: %s", retval)
Expand Down

0 comments on commit 0f94779

Please sign in to comment.