diff --git a/plugins/tagScenesWithPerfTags/tagScenesWithPerfTags.py b/plugins/tagScenesWithPerfTags/tagScenesWithPerfTags.py index db00e12d..ad0aa1f2 100644 --- a/plugins/tagScenesWithPerfTags/tagScenesWithPerfTags.py +++ b/plugins/tagScenesWithPerfTags/tagScenesWithPerfTags.py @@ -63,8 +63,10 @@ def processScene(scene): elif "hookContext" in json_input["args"]: id = json_input["args"]["hookContext"]["id"] if ( - json_input["args"]["hookContext"]["type"] == "Scene.Update.Post" - or "Scene.Create.Post" + ( + json_input["args"]["hookContext"]["type"] == "Scene.Update.Post" + or "Scene.Create.Post" + ) and len(json_input["args"]["hookContext"]["inputFields"]) > 2 ): scene = stash.find_scene(id) processScene(scene)