Skip to content

Commit 8689b79

Browse files
fix:check_history_event (#386)
1 parent 43495c5 commit 8689b79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servers/automata.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ def check_history_event(e):
514514
if isinstance(event_name, str) and sess_state.event_mapping.get(e) is not None:
515515
return False
516516
tmp = e.split('_')
517-
if len(tmp.split('_')) == 4 and tmp[0] == "MESSAGE" and tmp[2] == "BUTTON":
517+
if len(tmp) == 4 and tmp[0] == "MESSAGE" and tmp[2] == "BUTTON":
518518
return True
519519
return False
520520

0 commit comments

Comments
 (0)