diff options
Diffstat (limited to 'train_dspam_from_folder')
-rwxr-xr-x | train_dspam_from_folder | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/train_dspam_from_folder b/train_dspam_from_folder index 06eb0af..2aed4b7 100755 --- a/train_dspam_from_folder +++ b/train_dspam_from_folder @@ -36,4 +36,5 @@ for msgId in messages: client.expunge() client.close() client.logout() -print "Processed %d spam messages." % processedCounter +if processedCounter > 0: + print "Processed %d spam messages." % processedCounter |