mirror of
https://github.com/kittywitch/konawall-py.git
synced 2026-02-09 12:29:19 -08:00
Forgot third positional arg
This commit is contained in:
parent
40df439299
commit
3bcdfd0804
1 changed files with 2 additions and 2 deletions
|
|
@ -52,9 +52,9 @@ def detect_environment():
|
||||||
"""
|
"""
|
||||||
This sets wallpapers on any platform, as long as it is supported.
|
This sets wallpapers on any platform, as long as it is supported.
|
||||||
"""
|
"""
|
||||||
def set_environment_wallpapers(environment: str, files: list):
|
def set_environment_wallpapers(environment: str, files: list, displays: list):
|
||||||
if environment in environment_handlers:
|
if environment in environment_handlers:
|
||||||
environment_handlers[f"{environment}_setter"](files)
|
environment_handlers[f"{environment}_setter"](files, displays)
|
||||||
logging.info("Wallpapers set!")
|
logging.info("Wallpapers set!")
|
||||||
else:
|
else:
|
||||||
UnsupportedPlatform(f"Environment {environment} is not supported, sorry!")
|
UnsupportedPlatform(f"Environment {environment} is not supported, sorry!")
|
||||||
Loading…
Add table
Add a link
Reference in a new issue