Change TMUJX_VAR_RE re.compile to use raw string (#2245)
This commit is contained in:
parent
833f30e88e
commit
14cc0d2df8
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue