misc: cleanup

This commit is contained in:
Dylan Araps 2018-03-18 15:46:45 +11:00
parent 3d3f9ce2c5
commit a58a9037c8

View File

@ -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)