mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +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))])
|
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'\{\|(.*)\|\}')
|
_format_code = re.compile(r'\{\|(.*)\|\}')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue