fixed #3
This commit is contained in:
parent
a808b1a1fb
commit
9262aaf955
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user