diff --git a/XFTGenerator.py b/XFTGenerator.py index 7049d87..9294ac5 100644 --- a/XFTGenerator.py +++ b/XFTGenerator.py @@ -247,7 +247,7 @@ def main(): for event in events[1:]: events_emits_dec.append( - emit_dec.replace("{event}", event).replace("{Event}", event.capitalize()) + emit_dec.replace("{event}", event).replace("{Event}", ucfirst(event)) ) variables["EVENTS_EMITS_DEC"] = "\n\n".join(events_emits_dec)