summaryrefslogtreecommitdiffstats
path: root/wallace/module_footer.py
diff options
context:
space:
mode:
Diffstat (limited to 'wallace/module_footer.py')
-rw-r--r--wallace/module_footer.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/wallace/module_footer.py b/wallace/module_footer.py
index 73916fb..96e8cf6 100644
--- a/wallace/module_footer.py
+++ b/wallace/module_footer.py
@@ -25,7 +25,7 @@ import time
from email import message_from_file
from email.encoders import encode_quopri
-import modules
+from . import modules
import pykolab
from pykolab.translate import _
@@ -165,12 +165,12 @@ def execute(*args, **kw):
if content_type == "text/plain":
content = part.get_payload(decode=True)
- content = append_footer(content, footer['plain'], footer_position, false)
+ content = append_footer(content, footer['plain'], footer_position, False)
footer_added = set_part_content(part, content)
elif content_type == "text/html":
content = part.get_payload(decode=True)
- content = append_footer(content, footer['html'], footer_position, true)
+ content = append_footer(content, footer['html'], footer_position, True)
footer_added = set_part_content(part, content)
if footer_added: