mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 20:14:13 +00:00
[Console] Use raw string for regex compile
This commit is contained in:
parent
04b8b14828
commit
608ecae5fd
@ -124,7 +124,7 @@ def format_row(row, column_widths):
|
||||
return ''.join([format_column(row[i], column_widths[i]) for i in range(0, len(row))])
|
||||
|
||||
|
||||
_strip_re = re.compile('\\{!.*?!\\}')
|
||||
_strip_re = re.compile(r'\{!.*?!\}')
|
||||
_format_code = re.compile(r'\{\|(.*)\|\}')
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user