Skip to content

Commit

Permalink
Fix space in wallpaper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Gremious authored Aug 3, 2023
1 parent 80fd0ff commit 22c1125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pywal/wallpaper.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def set_win_wallpaper(img):
if "x86" in os.environ["PROGRAMFILES"]:
ctypes.windll.user32.SystemParametersInfoW(20, 0, img, 3)
else:
# 'W' funcitons take uniqcode strings,
# 'W' funcitons take uniqcode strings,
# while 'A' functions take UTF-8 bytestrings.
# (Python 3 strings are Unicode by default.)
ctypes.windll.user32.SystemParametersInfoA(20, 0, str.encode(img), 3)
Expand Down

0 comments on commit 22c1125

Please sign in to comment.