summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2018-03-18 15:46:45 +1100
committerDylan Araps <dylan.araps@gmail.com>2018-03-18 15:46:45 +1100
commita58a9037c8e9e74742c589d41816fa414f3b7290 (patch)
treeff534c1bceb0e81b72c1646765cc0199fc790c72
parent3d3f9ce2c5d7992f4ed123201f16065939b786d6 (diff)
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)