Skip to content

Commit

Permalink
Text alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
farrokhi committed Jun 20, 2024
1 parent 9589a85 commit 4c7384c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dnseval.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,10 @@ def main():
json.dump(outer_data, outfile, indent=2)

else:
print("%s %-8.3f %-8.3f %-8.3f %-8.3f %s%%%-3d%s %-8s %21s %-20s" % (
result = "%s %-8.3f %-8.3f %-8.3f %-8.3f %s%%%-3d%s %-8s %21s %-20s" % (
resolver, retval.r_avg, retval.r_min, retval.r_max, retval.r_stddev, l_color, retval.r_lost_percent,
color.N, s_ttl, text_flags, retval.rcode_text), flush=True)
color.N, s_ttl, text_flags, retval.rcode_text)
print(result.rstrip(), flush = True)

if verbose and retval.answer and not json_output:
ans_index = 1
Expand Down

0 comments on commit 4c7384c

Please sign in to comment.