From 3e68351e8f289ee5c9872172271b1cbd7903e6bb Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Fri, 23 Feb 2018 14:30:19 +0900 Subject: [PATCH] Align stats numbers to the right --- bin/reverse_geolocate.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/bin/reverse_geolocate.py b/bin/reverse_geolocate.py index 484e9b4..e757244 100755 --- a/bin/reverse_geolocate.py +++ b/bin/reverse_geolocate.py @@ -558,19 +558,19 @@ for xmp_file in work_files: lrdb.close() # end stats -print("{}".format('=' * 30)) -print("XMP Files found : {:,}".format(count['all'])) -print("Updated : {:,}".format(count['changed'])) -print("Skipped : {:,}".format(count['skipped'])) -print("New GeoLocation Google: {:,}".format(count['google'])) -print("GeoLocation from Cache: {:,}".format(count['cache'])) -print("Failed for Reverse Geo: {:,}".format(count['failed'])) +print("{}".format('=' * 37)) +print("XMP Files found : {:7,}".format(count['all'])) +print("Updated : {:7,}".format(count['changed'])) +print("Skipped : {:7,}".format(count['skipped'])) +print("New GeoLocation Google : {:7,}".format(count['google'])) +print("GeoLocation from Cache : {:7,}".format(count['cache'])) +print("Failed reverse GeoLocate : {:7,}".format(count['failed'])) if use_lightroom: - print("GeoLoc from Lightroom : {:,}".format(count['lightroom'])) - print("No Lightroom data : {:,}".format(count['not_found'])) + print("GeoLocaction from Lightroom : {:7,}".format(count['lightroom'])) + print("No Lightroom data : {:7,}".format(count['not_found'])) # if we have failed data if len(failed_files) > 0: - print("{}".format('-' * 30)) + print("{}".format('-' * 37)) print("Files that failed to update:") print("{}".format(', '.join(failed_files)))