Fix SpamAssassin: init all class fields

This commit is contained in:
Son NK 2020-11-18 10:28:32 +01:00
parent 319078fceb
commit 0224e5f8a6
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,9 @@ class SpamAssassin(object):
self.score = None
self.symbols = None
self.spamd_user = spamd_user
self.report_json = dict()
self.report_fulltext = ""
self.score = -999
# Connecting
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)