X-Git-Url: https://git.sommitrealweird.co.uk/eoc.git/blobdiff_plain/785588d7b049554df7e591409a938c125ab5f609..8f9e8b1644882aeb844454ef61c09d93537e2ef8:/eoc.py diff --git a/eoc.py b/eoc.py index 8a25978..c7fb0c1 100644 --- a/eoc.py +++ b/eoc.py @@ -4,7 +4,7 @@ This is a simple mailing list manager that mimicks the ezmlm-idx mail address commands. See manual page for more information. """ -VERSION = "1.2" +VERSION = "1.2.1" PLUGIN_INTERFACE_VERSION = "1" import getopt @@ -874,7 +874,7 @@ class MailingList: if "base64" in text or "BASE64" in text: import StringIO for line in StringIO.StringIO(text): - if line.lower.beginswith("content-transfer-encoding:") and \ + if line.lower().startswith("content-transfer-encoding:") and \ "base64" in line.lower(): return text return text + self.template("footer", {})