check.py : Add conversion messages.
This commit is contained in:
parent
2835049137
commit
a0c929c1cd
1 changed files with 4 additions and 0 deletions
4
check.py
4
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue