1
0
Fork 0
forked from fnux/rt2zammad

[fs2zammad] patch single f-string call to support python 3.11

This commit is contained in:
fnux 2024-04-22 13:30:52 +02:00
parent 515b6daa3e
commit 667b80d433
No known key found for this signature in database
GPG key ID: 4502C902C00A1E12

View file

@ -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: