forked from reform/ur-network-farm
cli: channel promo line after verify too
This commit is contained in:
@@ -388,6 +388,7 @@ def cmd_verify(a):
|
|||||||
json.dump(rows, open(a.out, "w", encoding="utf-8"), ensure_ascii=False, indent=1)
|
json.dump(rows, open(a.out, "w", encoding="utf-8"), ensure_ascii=False, indent=1)
|
||||||
print("\nTOTAL %d | alive %d | unique_ip %d | countries %d | hosting_exits %d"
|
print("\nTOTAL %d | alive %d | unique_ip %d | countries %d | hosting_exits %d"
|
||||||
% (len(rows), alive, len(ips), len(ccs), len(hosting)))
|
% (len(rows), alive, len(ips), len(ccs), len(hosting)))
|
||||||
|
promo(("%d/%d alive" % (alive, len(rows))))
|
||||||
return 0 if alive else 1
|
return 0 if alive else 1
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user