general: fix linting

This commit is contained in:
Dylan Araps 2017-12-27 20:29:25 +11:00
parent ba84790b7a
commit 78582215a0
3 changed files with 4 additions and 3 deletions

View File

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

View File

@ -2,7 +2,6 @@
Reload programs.
"""
import os
import re
import shutil
import subprocess

View File

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