use raw string for MAILDOMAIN_BLACKLIST (regexes)
This commit is contained in:
parent
a34be2039c
commit
067bf17f2f
@ -61,7 +61,7 @@ NAMESERVERS = ['8.8.8.8', '1.1.1.1', ]
|
|||||||
# we use a multiline string here with one regex per line (used with re.search).
|
# we use a multiline string here with one regex per line (used with re.search).
|
||||||
# the domains given below are just examples, please configure your own
|
# the domains given below are just examples, please configure your own
|
||||||
# regexes in your local settings file.
|
# regexes in your local settings file.
|
||||||
MAILDOMAIN_BLACKLIST = """
|
MAILDOMAIN_BLACKLIST = r"""
|
||||||
mailcatch\.com$
|
mailcatch\.com$
|
||||||
mailspam\.xyz$
|
mailspam\.xyz$
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user