diff --git a/XFTGenerator.py b/XFTGenerator.py index c0f447b..7049d87 100644 --- a/XFTGenerator.py +++ b/XFTGenerator.py @@ -208,7 +208,7 @@ def main(): print("Events (leave empty to end):") print("> init") while True: - event = input("> ").lower() + event = input("> ") if event: events.append(event) @@ -230,7 +230,7 @@ def main(): for event in events[1:]: 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)