From 7b4d53cfc040bf7bb13de45eb51dcd56db995f7a Mon Sep 17 00:00:00 2001 From: Martin Whitehouse Date: Mon, 25 Jul 2022 03:44:04 +0200 Subject: [PATCH] Fix 'list' annoation for py3.8 --- helpdesk/views/staff.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helpdesk/views/staff.py b/helpdesk/views/staff.py index 981091bb..450ffac8 100644 --- a/helpdesk/views/staff.py +++ b/helpdesk/views/staff.py @@ -606,8 +606,8 @@ def update_messages_sent_to_by_public_and_status( ticket: Ticket, follow_up: FollowUp, context: str, - messages_sent_to: list[str], - files: list[str, str] + messages_sent_to: typing.List[str], + files: typing.List[str, str] ) -> Ticket: """Sets the status of the ticket""" if public and (