From cc2b1cb27a7e68d7a1b17cc09dfc0bcf2a9532f8 Mon Sep 17 00:00:00 2001 From: ptalmeida Date: Thu, 24 Jan 2019 12:50:02 +0000 Subject: [PATCH] Improve terminal appearence for site_list.py --- site_list.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site_list.py b/site_list.py index bdc3598c..a1b73692 100644 --- a/site_list.py +++ b/site_list.py @@ -54,4 +54,5 @@ sorted_json_data = json.dumps(data, indent=2, sort_keys=True) with open("data.json", "w") as data_file: data_file.write(sorted_json_data) -print("\nFinished updating supported site listing!") +sys.stdout.write("\r{0}".format(f"Finished updating supported site listing!\n")) +sys.stdout.flush()