Improved code based on suggestions

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Simone Barbieri 2023-07-25 14:43:55 +01:00 committed by GitHub
parent 4055536411
commit edbed9ed0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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() \