From b9190ac80b17543bf7fb2aefbe63589538428e63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Tue, 7 May 2024 13:59:59 +0200 Subject: [PATCH] [fs2zammad] sort RT tickets before import --- fs2zammad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs2zammad b/fs2zammad index 72adaca..c5d4cbe 100755 --- a/fs2zammad +++ b/fs2zammad @@ -269,7 +269,7 @@ os.makedirs("tickets", exist_ok=True) os.makedirs("attachments", exist_ok=True) os.makedirs("failed", exist_ok=True) -ticket_ids = os.listdir("tickets/") +ticket_ids = os.listdir("tickets/").sort() print(f"Found {len(ticket_ids)} tickets on filesystem.") for id in ticket_ids: