From f2532a11613db00df0b94f7fab490bfab9f08f97 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 24 Jul 2023 10:34:46 +0200 Subject: [PATCH] Fix compatibility of plugin discovery with 2.6.x tools Signed-off-by: falkTX --- source/frontend/carla_database.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/frontend/carla_database.py b/source/frontend/carla_database.py index 98b97bada..7654851e2 100755 --- a/source/frontend/carla_database.py +++ b/source/frontend/carla_database.py @@ -239,12 +239,12 @@ def runCarlaDiscovery(itype, stype, filename, tool, wineSettings=None): else: break - if line == "carla-discovery::init::-----------": + if line.startswith("carla-discovery::init::"): pinfo = deepcopy(PyPluginInfo) pinfo['type'] = itype pinfo['filename'] = filename if filename != ":all" else "" - elif line == "carla-discovery::end::------------": + elif line.startswith("carla-discovery::end::"): if pinfo is not None: plugins.append(pinfo) del pinfo