mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Improved code based on suggestions
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
4055536411
commit
edbed9ed0e
1 changed files with 1 additions and 1 deletions
|
|
@ -435,7 +435,7 @@ def check_built_plugin_existance(plugin_path) -> bool:
|
|||
|
||||
integration_plugin_path = Path(plugin_path)
|
||||
|
||||
if not os.path.isdir(integration_plugin_path):
|
||||
if not integration_plugin_path.is_dir():
|
||||
raise RuntimeError("Path to the integration plugin is null!")
|
||||
|
||||
if not (integration_plugin_path / "Binaries").is_dir() \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue