diff --git a/rt2fs b/rt2fs index 03098ca..2fb28f7 100755 --- a/rt2fs +++ b/rt2fs @@ -62,7 +62,9 @@ def dump(id, retries=3): print("Got 'None' while fetching ticket") os.exit(1) 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["Owner"])