[rt2fs] mention ignored tickets (spam flag)
This commit is contained in:
parent
667b80d433
commit
74886ee784
1 changed files with 3 additions and 1 deletions
4
rt2fs
4
rt2fs
|
@ -62,7 +62,9 @@ def dump(id, retries=3):
|
||||||
print("Got 'None' while fetching ticket")
|
print("Got 'None' while fetching ticket")
|
||||||
os.exit(1)
|
os.exit(1)
|
||||||
ticket["original_id"] = str(id)
|
ticket["original_id"] = str(id)
|
||||||
if ticket["Queue"] != 'spam':
|
if ticket["Queue"] == 'spam':
|
||||||
|
print(f"Ignoring ticket #{id} (marked as SPAM)")
|
||||||
|
else:
|
||||||
maybe_dump_user(rt, ticket["Creator"])
|
maybe_dump_user(rt, ticket["Creator"])
|
||||||
maybe_dump_user(rt, ticket["Owner"])
|
maybe_dump_user(rt, ticket["Owner"])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue