Fixed incorrect test.

see #234
This commit is contained in:
Antoine Nguyen
2012-04-08 15:10:00 +02:00
parent 9645e547dc
commit e0fd34c98c
+1 -1
View File
@@ -109,7 +109,7 @@ class SQLemail(Email):
qreason = self.get_header(msg, "X-Amavis-Alert")
self.qtype = ""
self.qreason = ""
if self.qreason != "":
if qreason != "":
self.qtype, self.qreason = qreason.split(',', 2)
def get_header(self, msg, name):