From 974565bacb33ff6e737e1af5bee4db04107cda79 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 30 Jul 2017 10:41:59 +1000 Subject: [PATCH] wallpaper: Fix crash when old wallpaper file doesn't exist. Fixes #63 --- pywal/wallpaper.py | 2 ++ 1 file changed, 2 insertions(+) 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"