From 01458176d3a02c6baf93b5c611f4625cd6f06bf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 6 Aug 2023 22:36:41 +0200 Subject: Cleanup comment. --- mu4web/main.py | 12 +++++++----- 1 file 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})}, -- cgit v1.2.3