From c8c85d356b479c6aa6858f46ddc953ece21c8cef Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Tue, 6 Mar 2018 23:49:23 +0900 Subject: [PATCH] One } too much in backup file creation --- bin/reverse_geolocate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/reverse_geolocate.py b/bin/reverse_geolocate.py index 07a6f0b..cc4de41 100755 --- a/bin/reverse_geolocate.py +++ b/bin/reverse_geolocate.py @@ -884,7 +884,7 @@ for xmp_file in work_files: bk_file_counter = 1 # get PATH from file and look for .BK. data in this folder matching, output is sorted per BK counter key for bk_file in sorted( - glob.glob("{path}}/{file}*.xmp".format( + glob.glob("{path}/{file}*.xmp".format( path = os.path.split(xmp_file)[0], file = "{}.BK.".format(os.path.splitext(os.path.split(xmp_file)[1])[0]) )