From 72dc874168f017731515c33e4631b9282b08a46b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Samohel?= Date: Thu, 6 Jun 2024 11:08:46 +0200 Subject: [PATCH] :bug: fix pathlib dir existence check --- client/ayon_core/hosts/unreal/ue_workers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ayon_core/hosts/unreal/ue_workers.py b/client/ayon_core/hosts/unreal/ue_workers.py index 256c0557be..fdb7d0a3b6 100644 --- a/client/ayon_core/hosts/unreal/ue_workers.py +++ b/client/ayon_core/hosts/unreal/ue_workers.py @@ -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)