[fs2zammad] sort RT tickets before import
This commit is contained in:
parent
ac8807167c
commit
b9190ac80b
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue