Use capitalize instead of title

This commit is contained in:
Ivan Kravets committed 2022-04-20 18:36:28 +03:00
1 parent 0d7bc09c49
commit a2b1a0a0a7
5 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ class DebugConfigFactory(object):
@staticmethod
def get_clsname(name):
name = re.sub(r"[^\da-z\_\-]+", "", name, flags=re.I)
return "%sDebugConfig" % name.lower().title()
return "%sDebugConfig" % name.lower().capitalize()
@classmethod
def new(cls, platform, project_config, env_name):