Don't output "saving hitlist..." if quiet

Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
This commit is contained in:
David A. Wheeler 2017-08-26 15:13:35 -04:00
parent 58e56cad03
commit a19a2bb694
1 changed files with 2 additions and 1 deletions

View File

@ -2138,7 +2138,8 @@ def show_final_results():
def save_if_desired():
# We'll save entire hitlist, even if only differences displayed.
if savehitlist:
print("Saving hitlist to", savehitlist)
if not quiet:
print("Saving hitlist to", savehitlist)
f = open(savehitlist, "w")
pickle.dump(hitlist, f)
f.close()