diff options
| author | Dylan Araps <[email protected]> | 2017-12-27 20:29:25 +1100 |
|---|---|---|
| committer | Dylan Araps <[email protected]> | 2017-12-27 20:29:25 +1100 |
| commit | 78582215a08301ff47e14b2722561a5044ac18b9 (patch) | |
| tree | 656dc867b84c7df9e4f54a1db55f072a2bff1451 | |
| parent | general: Add message about deprecation. (diff) | |
| download | pywal-78582215a08301ff47e14b2722561a5044ac18b9.tar.xz pywal-78582215a08301ff47e14b2722561a5044ac18b9.zip | |
general: fix linting
| -rw-r--r-- | pywal/__main__.py | 3 | ||||
| -rw-r--r-- | pywal/reload.py | 1 | ||||
| -rw-r--r-- | pywal/sequences.py | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/pywal/__main__.py b/pywal/__main__.py index ffa8cb1..ed6e069 100644 --- a/pywal/__main__.py +++ b/pywal/__main__.py @@ -56,7 +56,8 @@ def get_args(args): don't display notifications.") arg.add_argument("-r", action="store_true", - help="Deprecated: Use (cat ~/.cache/wal/sequences &) instead.") + help="Deprecated: Use \ + (cat ~/.cache/wal/sequences &) instead.") arg.add_argument("-R", action="store_true", help="Restore previous colorscheme.") diff --git a/pywal/reload.py b/pywal/reload.py index 4d3f69e..f66cc96 100644 --- a/pywal/reload.py +++ b/pywal/reload.py @@ -2,7 +2,6 @@ Reload programs. """ import os -import re import shutil import subprocess diff --git a/pywal/sequences.py b/pywal/sequences.py index 2729c84..1043e60 100644 --- a/pywal/sequences.py +++ b/pywal/sequences.py @@ -65,7 +65,8 @@ def create_sequences(colors): # \033[8m # Conceal text. # \033]708;#000000\007 # Garbage sequence. # \0338 # Restore cursor position. - sequences.append(f"\0337\033[1000H\033[8m\033]708;{colors['special']['background']}\007\0338") + sequences.append(f"\0337\033[1000H\033[8m\033]708;%s\007\0338" % + colors['special']['background']) return "".join(sequences) |