Skip to content

Commit e808094

Browse files
[Video Chapter Markers] Fix on update trigger
1 parent 90bacb8 commit e808094

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

plugins/videoChapterMarkers/videoChapterMarkers.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ def processAll():
110110
PLUGIN_ARGS = json_input["args"]["mode"]
111111
if "processAll" == PLUGIN_ARGS:
112112
processAll()
113-
elif "hookContext" in json_input["args"]:
114-
_id = json_input["args"]["hookContext"]["id"]
115-
_type = json_input["args"]["hookContext"]["type"]
116-
if _type == "Scene.Update.Post":
117-
scene = stash.find_scene(_id)
118-
processScene(scene)
113+
if "hookContext" in json_input["args"]:
114+
_id = json_input["args"]["hookContext"]["id"]
115+
_type = json_input["args"]["hookContext"]["type"]
116+
if _type == "Scene.Update.Post":
117+
scene = stash.find_scene(_id)
118+
processScene(scene)

0 commit comments

Comments
 (0)