From 667b80d4332f66077daeeb9e270b871b4cd3613a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Mon, 22 Apr 2024 13:30:52 +0200 Subject: [PATCH] [fs2zammad] patch single f-string call to support python 3.11 --- fs2zammad | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs2zammad b/fs2zammad index ee83d8e..baf921a 100755 --- a/fs2zammad +++ b/fs2zammad @@ -252,7 +252,8 @@ for id in ticket_ids: zammad_ticket = zammad.ticket.update(zammad_ticket["id"], {"customer_id": entry_creator_id}) restore_creator_to = zammad_ticket["customer_id"] - print(f"-> Adding a new entry/comment to ticket {zammad_ticket["id"]} ({zammad_entry_creator})...") + zammad_ticket_id = zammad_ticket["id"] + print(f"-> Adding a new entry/comment to ticket {zammad_ticket_id} ({zammad_entry_creator})...") TicketArticle(get_zammad_session(zammad_entry_creator)).create(zammad_entry_template) if restore_creator_to != None: