mirror of
https://github.com/junkfix/config-editor.git
synced 2026-02-22 18:26:40 +01:00
Update __init__.py
This commit is contained in:
parent
ee8e7b9621
commit
07ff1a8c4f
|
|
@ -45,7 +45,7 @@ async def websocket_create(hass, connection, msg):
|
|||
v = os.path.join(r, d)
|
||||
if os.path.isdir(v):
|
||||
p = d if s == '' else os.path.join(s, d)
|
||||
if(p.count(os.sep) < 2):
|
||||
if(p.count(os.sep) < 2) and p != 'custom_components':
|
||||
rec(v, p)
|
||||
drec(v, p)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue