Merge pull request #2768 from BigRoy/fix_affter_effects_typo

After Effects: Fix typo in name `afftereffects` -> `aftereffects`
This commit is contained in:
Petr Kalis 2022-02-21 10:39:11 +01:00 committed by GitHub
commit 8565a44a1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -21,7 +21,7 @@ class AddLastWorkfileToLaunchArgs(PreLaunchHook):
"blender", "blender",
"photoshop", "photoshop",
"tvpaint", "tvpaint",
"afftereffects" "aftereffects"
] ]
def execute(self): def execute(self):

View file

@ -19,7 +19,7 @@ class CopyTemplateWorkfile(PreLaunchHook):
# Before `AddLastWorkfileToLaunchArgs` # Before `AddLastWorkfileToLaunchArgs`
order = 0 order = 0
app_groups = ["blender", "photoshop", "tvpaint", "afftereffects"] app_groups = ["blender", "photoshop", "tvpaint", "aftereffects"]
def execute(self): def execute(self):
"""Check if can copy template for context and do it if possible. """Check if can copy template for context and do it if possible.
@ -44,7 +44,7 @@ class CopyTemplateWorkfile(PreLaunchHook):
return return
if os.path.exists(last_workfile): if os.path.exists(last_workfile):
self.log.debug("Last workfile exits. Skipping {} process.".format( self.log.debug("Last workfile exists. Skipping {} process.".format(
self.__class__.__name__ self.__class__.__name__
)) ))
return return
@ -120,7 +120,7 @@ class CopyTemplateWorkfile(PreLaunchHook):
f"Creating workfile from template: \"{template_path}\"" f"Creating workfile from template: \"{template_path}\""
) )
# Copy template workfile to new destinantion # Copy template workfile to new destination
shutil.copy2( shutil.copy2(
os.path.normpath(template_path), os.path.normpath(template_path),
os.path.normpath(last_workfile) os.path.normpath(last_workfile)