fixes
Some checks failed
🐳 ⚠ docker-unsafe from next_release branch / docker_dev_unsafe (push) Has been cancelled

This commit is contained in:
Jokob @NetAlertX
2026-04-13 13:02:34 +00:00
parent 8abecb7a0d
commit c275bf447d
2 changed files with 28 additions and 3 deletions

View File

@@ -817,13 +817,15 @@ def process_plugin_events(db, plugin, plugEventsArr):
pluginObjects.append(tmpObjFromEvent)
# update data of existing objects
else:
if tmpObjFromEvent.status == "watched-changed":
changed_this_cycle.add(tmpObjFromEvent.idsHash)
index = 0
for plugObj in pluginObjects:
# find corresponding object for the event and merge
if plugObj.idsHash == tmpObjFromEvent.idsHash:
if (
plugObj.status == "missing-in-last-scan"
or tmpObjFromEvent.status == "watched-changed"
):
changed_this_cycle.add(tmpObjFromEvent.idsHash)
pluginObjects[index] = combine_plugin_objects(
plugObj, tmpObjFromEvent
)