From 6a1f4304964df6fb1c880ad02d2530a6d5b805a6 Mon Sep 17 00:00:00 2001 From: Martin Whitehouse Date: Mon, 20 Jun 2022 16:10:55 +0200 Subject: [PATCH] Missing import --- helpdesk/lib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helpdesk/lib.py b/helpdesk/lib.py index 78b7f3dd..7d2a1c04 100644 --- a/helpdesk/lib.py +++ b/helpdesk/lib.py @@ -135,6 +135,8 @@ def process_attachments(followup, attached_files): for attached in attached_files: if attached.size: + from helpdesk.models import FollowUpAttachment + filename = smart_str(attached.name) att = FollowUpAttachment( followup=followup,