mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-01-05 21:48:55 +01:00
wallpaper: Fix crash when old wallpaper file doesn't exist. Fixes #63
This commit is contained in:
parent
31425f77a0
commit
974565bacb
@ -103,3 +103,5 @@ def get(cache_dir=CACHE_DIR):
|
||||
|
||||
if current_wall.is_file():
|
||||
return util.read_file(current_wall)[0]
|
||||
|
||||
return "None"
|
||||
|
Loading…
Reference in New Issue
Block a user