[fs2zammad] sort RT tickets before import

This commit is contained in:
fnux 2024-05-07 13:59:59 +02:00
parent ac8807167c
commit b9190ac80b
No known key found for this signature in database
GPG Key ID: 4502C902C00A1E12
1 changed files with 1 additions and 1 deletions

View File

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