Have you defined SPAMASSASSIN_MEMBER_BONUS in Defaults.py and/or mm_cfg.py? Did you define it as a string rather than as a float? i.e. something like
SPAMASSASSIN_MEMBER_BONUS = '5'
as opposed to
SPAMASSASSIN_MEMBER_BONUS = 5.0
if MEMBER_BONUS actually has a string value, simply changing score -= MEMBER_BONUS into score -= (MEMBER_BONUS) won't help. Did you mean score -= float(MEMBER_BONUS)?
Regarding comment #24:
Have you defined SPAMASSASSIN_ MEMBER_ BONUS in Defaults.py and/or mm_cfg.py? Did you define it as a string rather than as a float? i.e. something like
SPAMASSASSIN_ MEMBER_ BONUS = '5'
as opposed to
SPAMASSASSIN_ MEMBER_ BONUS = 5.0
if MEMBER_BONUS actually has a string value, simply changing score -= MEMBER_BONUS into score -= (MEMBER_BONUS) won't help. Did you mean score -= float(MEMBER_ BONUS)?