summaryrefslogtreecommitdiffstats
path: root/wallace
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2015-08-13 11:48:05 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2015-08-13 11:48:05 +0200
commit90ffab4eeef6321e720134e7d20cd24637d1260c (patch)
treeaf2403453a737d487bad6ce2cf225c132c5f327a /wallace
parent838a608d8225b30014b4f38e26091236e2d77564 (diff)
downloadpykolab-90ffab4eeef6321e720134e7d20cd24637d1260c.tar.gz
Avoid using non-existent self (#5001)
Diffstat (limited to 'wallace')
-rw-r--r--wallace/module_footer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wallace/module_footer.py b/wallace/module_footer.py
index f9224ea..423eccd 100644
--- a/wallace/module_footer.py
+++ b/wallace/module_footer.py
@@ -85,11 +85,11 @@ def execute(*args, **kw):
footer['plain'] = open(footer_text_file, 'r').read()
if not os.path.isfile(footer_html_file):
- footer['html'] = '<p>' + self.footer['plain'] + '</p>'
+ footer['html'] = '<p>' + footer['plain'] + '</p>'
else:
footer['html'] = open(footer_html_file, 'r').read()
if footer['html'] == "":
- footer['html'] = '<p>' + self.footer['plain'] + '</p>'
+ footer['html'] = '<p>' + footer['plain'] + '</p>'
if footer['plain'] == "" and footer['html'] == "<p></p>":
exec('modules.cb_action_%s(%r, %r)' % ('ACCEPT','footer', filepath))