Updated documentation.

This commit is contained in:
Antoine Nguyen
2025-07-02 09:52:40 +02:00
parent 51ecce6927
commit 0b9767aa9a
3 changed files with 39 additions and 24 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ class ImapEmail(Email):
if re.search(r"\.\.", cid):
continue
fname = f"{self.mailid}_{cid}"
path = get_storage_path(fname)
path = os.path.relpath(get_storage_path(fname), settings.MEDIA_ROOT)
params["fname"] = os.path.join(
settings.MEDIA_URL, os.path.basename(get_storage_path("")), fname
)