aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Leitner <[email protected]>2019-10-01 11:54:42 +0200
committerLorenz Leitner <[email protected]>2019-10-01 11:54:42 +0200
commitb6a11f6338daabd33ffbfadc3a4f15e7080214eb (patch)
tree9513ada1e46e4c6218101895b39160beee10d750
parentFix pylint (diff)
downloadpywal-b6a11f6338daabd33ffbfadc3a4f15e7080214eb.tar.xz
pywal-b6a11f6338daabd33ffbfadc3a4f15e7080214eb.zip
Fix line length for pylint
-rw-r--r--pywal/theme.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pywal/theme.py b/pywal/theme.py
index c053f18..2b14600 100644
--- a/pywal/theme.py
+++ b/pywal/theme.py
@@ -19,14 +19,13 @@ def list_out():
user_themes = [theme.name.replace(".json", "")
for theme in list_themes_user()]
-
last_used_theme = util.read_file(os.path.join(
CACHE_DIR, "last_used_theme"))[0].replace(".json", "")
if user_themes:
print("\033[1;32mUser Themes\033[0m:")
- print(" -", "\n - ".join(t + " (last used)" if t == last_used_theme else t
- for t in sorted(user_themes)))
+ print(" -", "\n - ".join(t + " (last used)" if t == last_used_theme
+ else t for t in sorted(user_themes)))
print("\033[1;32mDark Themes\033[0m:")
print(" -", "\n - ".join(t + " (last used)" if t == last_used_theme else t