diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2017-07-30 10:41:59 +1000 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2017-07-30 10:41:59 +1000 |
| commit | 974565bacb33ff6e737e1af5bee4db04107cda79 (patch) | |
| tree | 492d1ef67bce6af514b99c95672593bd090a5d44 /pywal | |
| parent | 31425f77a03f1844c1c117614a4cc9ac9b3711cc (diff) | |
wallpaper: Fix crash when old wallpaper file doesn't exist. Fixes #63
Diffstat (limited to 'pywal')
| -rw-r--r-- | pywal/wallpaper.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pywal/wallpaper.py b/pywal/wallpaper.py index f9d6c1e..1c6b485 100644 --- a/pywal/wallpaper.py +++ b/pywal/wallpaper.py @@ -103,3 +103,5 @@ def get(cache_dir=CACHE_DIR): if current_wall.is_file(): return util.read_file(current_wall)[0] + + return "None" |
