Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Use bytestring for wallpaper path on Windows#708

Open
Gremious wants to merge 3 commits intodylanaraps:masterfrom
Gremious:master
Open

Use bytestring for wallpaper path on Windows#708
Gremious wants to merge 3 commits intodylanaraps:masterfrom
Gremious:master

Conversation

@Gremious
Copy link

This fixes #684, where on Windows, the wallpaper setting would fail and instead default to black color wallpaper.
SystemParametersInfoA takes exclusively UTF-8 bytestrings, but python 3 strings are Unicode by default.

@Gremious Gremious mentioned this pull request Jun 27, 2023
@eylles
Copy link

eylles commented Jul 31, 2023

imma taek this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows wallpaper

2 participants