1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 19:32:19 +01:00

Dont replace project name spaces with underlines (#7455)

This commit is contained in:
Jesse Hills
2024-09-16 18:03:51 +12:00
committed by GitHub
parent 435789a960
commit 857a3dcf72

View File

@@ -100,9 +100,6 @@ def valid_include(value):
def valid_project_name(value: str):
if value.count(".") != 1:
raise cv.Invalid("project name needs to have a namespace")
value = value.replace(" ", "_")
return value