use raw string for MAILDOMAIN_BLACKLIST (regexes)

This commit is contained in:
Thomas Waldmann 2018-11-18 22:20:52 +01:00
parent a34be2039c
commit 067bf17f2f

View File

@ -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$
""" """