Fix DeprecationWarning: invalid escape sequence
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
This commit is contained in:
parent
4c675b8311
commit
e8298726ca
13 changed files with 20 additions and 20 deletions
|
@ -31,7 +31,7 @@ class SiteManagerPlugin(object):
|
|||
|
||||
# Return: True if the address is .bit domain
|
||||
def isBitDomain(self, address):
|
||||
return re.match("(.*?)([A-Za-z0-9_-]+\.bit)$", address)
|
||||
return re.match(r"(.*?)([A-Za-z0-9_-]+\.bit)$", address)
|
||||
|
||||
# Resolve domain
|
||||
# Return: The address or None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue