▶ Ad-hoc event bug fix

This commit is contained in:
jokob-sk
2024-07-01 21:07:51 +10:00
parent 15d16dcd81
commit b6451e6e76
9 changed files with 37 additions and 12 deletions

View File

@@ -768,11 +768,9 @@ def check_and_run_user_event(db, all_plugins, pluginsState):
# Split the line by '|', and take the third and fourth columns (indices 2 and 3)
columns = line.strip().split('|')[2:4]
if len(columns) != 2:
remaining_lines.append(line)
continue
event, param = columns
event, param = "", ""
if len(columns) == 2:
event, param = columns
if event == 'test':
show_events_completed = True