forked from platformio/platformio-core
Use capitalize instead of title
This commit is contained in:
1 parent
0d7bc09c49
commit
a2b1a0a0a7
5 files changed
+8
-8
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user