From a0c929c1cd2e861a33f2bc5350e87a60db44ba5d Mon Sep 17 00:00:00 2001 From: Philippe Groarke Date: Wed, 18 Oct 2017 19:30:39 -0400 Subject: [PATCH] check.py : Add conversion messages. --- check.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/check.py b/check.py index 63566b7..a2a61b3 100755 --- a/check.py +++ b/check.py @@ -216,9 +216,13 @@ def convert_guids(filename): guid = guid[:8] + guid[:4] + guid[12:] guid = "03000000" + guid[8:] guid = guid.lower() + else: + out_file.write(line) + continue out = line.replace(splitted[0], guid) out_file.write(out) + print("\nConverted :\t" + splitted[0] + "\nTo :\t\t" + guid) out_file.close() input_file.close() shutil.copyfile(input_file.name, ".bak." + input_file.name)