Skip to content

Commit

Permalink
Fix compatibility of plugin discovery with 2.6.x tools
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Jul 24, 2023
1 parent 493cdfa commit f2532a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/frontend/carla_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f2532a1

Please sign in to comment.