aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-08-06 22:36:41 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-08-07 15:16:41 +0200
commit01458176d3a02c6baf93b5c611f4625cd6f06bf3 (patch)
tree6095272945f03bc6ef1b1886ef7f415b724eb0d2
parentAllow render of HTML fragment from external module. (diff)
downloadmu4web-01458176d3a02c6baf93b5c611f4625cd6f06bf3.tar.gz
mu4web-01458176d3a02c6baf93b5c611f4625cd6f06bf3.tar.xz
Cleanup comment.
-rw-r--r--mu4web/main.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/mu4web/main.py b/mu4web/main.py
index 8a4baec..e782233 100644
--- a/mu4web/main.py
+++ b/mu4web/main.py
@@ -146,11 +146,13 @@ def multipart_page(msg_id: str,
Multi part attachements are simply containers, and can't directly
be opened. Instead, build a tree of all components.
- [Parameters]
- msg_id - Message ID of the mail in question
- attachement - The attachement to work with, must be multipart
- attachement_idx - Index of attachement in top level mail.
- Needed for links to work.
+ :param msg_id:
+ Message ID of the mail in question
+ :param attachement:
+ The attachement to work with, must be multipart
+ :param attachement_idx:
+ Index of attachement in top level mail. Needed for links to
+ work.
"""
tree, _ = attachement_tree(msg_id, attachement, attachement_idx)
body: list[HTML] = [('a', {'href': '/?' + urlencode({'id': msg_id})},