Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F118155778
D116.1775652691.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
839 B
Referenced Files
None
Subscribers
None
D116.1775652691.diff
View Options
diff --git a/wallace/module_footer.py b/wallace/module_footer.py
--- a/wallace/module_footer.py
+++ b/wallace/module_footer.py
@@ -125,14 +125,14 @@
continue
if content_type == "text/plain":
- content = part.get_payload()
+ content = part.get_payload(decode=True)
content += "\n\n-- \n%s" % (footer['plain'])
part.set_payload(content)
footer_added = True
log.debug("Text footer attached.", level=6)
elif content_type == "text/html":
- content = part.get_payload()
+ content = part.get_payload(decode=True)
append = "\n<!-- footer appended by Wallace -->\n" + footer['html']
if "</body>" in content:
part.set_payload(content.replace("</body>", append + "</body>"))
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 8, 12:51 PM (19 h, 56 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18821814
Default Alt Text
D116.1775652691.diff (839 B)
Attached To
Mode
D116: Respect content encoding of the message part when adding a footer (#5087)
Attached
Detach File
Event Timeline