diff options
Diffstat (limited to 'mu4web/main.py')
-rw-r--r-- | mu4web/main.py | 12 |
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})}, |