Skip to content

Commit a0bc166

Browse files
Merge pull request geekcomputers#478 from chunleik/master
Adjust if-elif-else judgment
2 parents 27ed826 + 5f86a97 commit a0bc166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Windows_Wallpaper_Script/wallpaper_extract.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def arr_desk_wallpapers():
9090
im.close()
9191
os.rename(w.file_urls["wall_dst"] + filename,
9292
w.file_urls["wall_desktop"] + filename)
93-
if list(im.size)[0] == 1080:
93+
elif list(im.size)[0] == 1080:
9494
im.close()
9595
os.rename(w.file_urls["wall_dst"] + filename,
9696
w.file_urls["wall_mobile"] + filename)

0 commit comments

Comments
 (0)