mirror of
https://github.com/wled/WLED.git
synced 2025-04-25 07:17:18 +00:00
load_usermods: Also search for mod_v2
This commit is contained in:
parent
a5b972d87e
commit
51db63dff7
@ -20,6 +20,9 @@ def find_usermod(mod: str):
|
||||
mp = usermod_dir / mod
|
||||
if mp.exists():
|
||||
return mp
|
||||
mp = usermod_dir / f"{mod}_v2"
|
||||
if mp.exists():
|
||||
return mp
|
||||
mp = usermod_dir / f"usermod_v2_{mod}"
|
||||
if mp.exists():
|
||||
return mp
|
||||
|
Loading…
x
Reference in New Issue
Block a user