mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
[Console] Use raw string for regex compile
This commit is contained in:
parent
04b8b14828
commit
608ecae5fd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue