From 9262aaf955c333af2578e302c3aa3bb2e3e4a5da Mon Sep 17 00:00:00 2001 From: LordBaryhobal Date: Thu, 13 Jul 2023 13:01:18 +0200 Subject: [PATCH] fixed #3 --- XFTGenerator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)