aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <[email protected]>2018-03-18 15:46:45 +1100
committerDylan Araps <[email protected]>2018-03-18 15:46:45 +1100
commita58a9037c8e9e74742c589d41816fa414f3b7290 (patch)
treeff534c1bceb0e81b72c1646765cc0199fc790c72
parentmisc: cleanup (diff)
downloadpywal-a58a9037c8e9e74742c589d41816fa414f3b7290.tar.xz
pywal-a58a9037c8e9e74742c589d41816fa414f3b7290.zip
misc: cleanup
-rw-r--r--pywal/theme.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/pywal/theme.py b/pywal/theme.py
index 010e90f..efa3129 100644
--- a/pywal/theme.py
+++ b/pywal/theme.py
@@ -43,9 +43,6 @@ def file(input_file):
elif os.path.isfile(user_theme_file):
theme_file = user_theme_file
- elif os.path.isfile(theme_file):
- theme_file = theme_file
-
elif input_file == "random":
themes = [theme.path for theme in index()]
random.shuffle(themes)