domain = wildchar = punycode = reason = None
- if mode in ("detection_mode", "software"):
+ if mode in ("detection_mode", "software", "command"):
database.cursor.execute(
- f"SELECT domain, origin, software, command, total_peers, total_blocks, first_seen, last_updated \
+ f"SELECT domain, origin, software, detection_mode, command, total_peers, total_blocks, first_seen, last_updated \
FROM instances \
WHERE {mode} = ? \
ORDER BY domain \