Forgot third positional arg

This commit is contained in:
Kat Inskip 2023-09-08 17:14:53 -07:00
parent 40df439299
commit 3bcdfd0804
Signed by: kat
GPG key ID: 465E64DECEA8CF0F

View file

@ -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!")