mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
🐛 fix pathlib dir existence check
This commit is contained in:
parent
b72f8d89f0
commit
72dc874168
1 changed files with 1 additions and 1 deletions
|
|
@ -345,7 +345,7 @@ class UEPluginInstallWorker(UEWorker):
|
|||
uat_path: Path = ue_lib.get_path_to_uat(self.engine_path)
|
||||
src_plugin_dir = Path(self.env.get("AYON_UNREAL_PLUGIN", ""))
|
||||
|
||||
if not os.path.isdir(src_plugin_dir):
|
||||
if not src_plugin_dir.is_dir():
|
||||
msg = "Path to the integration plugin is null!"
|
||||
self.failed.emit(msg, 1)
|
||||
raise RuntimeError(msg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue