Change TMUJX_VAR_RE re.compile to use raw string

This commit is contained in:
Wander Boessenkool 2023-10-18 11:11:32 +02:00
parent 833f30e88e
commit 8615e7e00c

View File

@ -176,7 +176,7 @@ def init_tmux_environment(pl, args, set_tmux_environment=set_tmux_environment):
' ' * powerline.renderer.strwidth(left_dividers['hard'])))
TMUX_VAR_RE = re.compile('\$(_POWERLINE_\w+)')
TMUX_VAR_RE = re.compile(r'\$(_POWERLINE_\w+)')
def tmux_setup(pl, args):