This commit is contained in:
Louis Heredero 2023-07-13 13:01:18 +02:00
parent a808b1a1fb
commit 9262aaf955

View File

@ -208,7 +208,7 @@ def main():
print("Events (leave empty to end):") print("Events (leave empty to end):")
print("> init") print("> init")
while True: while True:
event = input("> ").lower() event = input("> ")
if event: if event:
events.append(event) events.append(event)
@ -230,7 +230,7 @@ def main():
for event in events[1:]: for event in events[1:]:
events_emits_def.append( events_emits_def.append(
emit_def.replace("{event}", event).replace("{Event}", event.capitalize()) emit_def.replace("{event}", event).replace("{Event}", ucfirst(event))
) )
variables["EVENTS_EMITS_DEF"] = "\n\n".join(events_emits_def) variables["EVENTS_EMITS_DEF"] = "\n\n".join(events_emits_def)