mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #4965 from ynput/bugfix/unreal_addon_py3_syntax
This commit is contained in:
commit
592d0ac908
1 changed files with 3 additions and 2 deletions
|
|
@ -23,9 +23,10 @@ class UnrealAddon(OpenPypeModule, IHostAddon):
|
|||
UNREAL_ROOT_DIR, "integration", f"UE_{ue_version}", "Ayon"
|
||||
)
|
||||
if not Path(unreal_plugin_path).exists():
|
||||
if compatible_versions := get_compatible_integration(
|
||||
compatible_versions = get_compatible_integration(
|
||||
ue_version, Path(UNREAL_ROOT_DIR) / "integration"
|
||||
):
|
||||
)
|
||||
if compatible_versions:
|
||||
unreal_plugin_path = compatible_versions[-1] / "Ayon"
|
||||
unreal_plugin_path = unreal_plugin_path.as_posix()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue