This commit is contained in:
Renaud Boyer 2020-12-06 18:00:41 +01:00
parent fefbaeb143
commit fad64ff064
1 changed files with 3 additions and 3 deletions

View File

@ -108,7 +108,7 @@ class SpamAssassin(object):
# create final json
self.report_json = dict()
for tablelist in tablelists:
wordlist = re.split("\s+", tablelist)
wordlist = re.split(r"\s+", tablelist)
try:
self.report_json[wordlist[1]] = {
"partscore": float(wordlist[0]),