mirror of
https://github.com/esphome/esphome.git
synced 2024-11-09 16:57:47 +01:00
Dont replace project name spaces with underlines (#7455)
This commit is contained in:
parent
f87d9be60d
commit
749f664330
1 changed files with 0 additions and 3 deletions
|
@ -100,9 +100,6 @@ def valid_include(value):
|
||||||
def valid_project_name(value: str):
|
def valid_project_name(value: str):
|
||||||
if value.count(".") != 1:
|
if value.count(".") != 1:
|
||||||
raise cv.Invalid("project name needs to have a namespace")
|
raise cv.Invalid("project name needs to have a namespace")
|
||||||
|
|
||||||
value = value.replace(" ", "_")
|
|
||||||
|
|
||||||
return value
|
return value
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue