From: richard Date: Thu, 25 Mar 2004 23:14:52 +0000 (+0000) Subject: duh X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=65b69b331cb671b2436dcf2a832300e2ef841c95;p=roundup.git duh git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2196 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/detectors/emailauditor.py b/detectors/emailauditor.py index 30f9636..2f1c290 100644 --- a/detectors/emailauditor.py +++ b/detectors/emailauditor.py @@ -29,8 +29,9 @@ def eml_to_mht(db, cl, nodeid, newvalues): So... we do that. :)''' if newalues.get('type', '').lower() == "message/rfc822": - if newvalues.has_key('name'): + if not newvalues.has_key('name'): newvalues['name'] = 'email.mht' + return name = newvalues['name'] if name.endswith('.eml'): name = name[:-4]