Print Converted as debug info.
This commit is contained in:
parent
1124ca5cd6
commit
9b75cd0724
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ def main(argv):
|
|||
with open(filecopy,'r') as c:
|
||||
print("Detected %s instances of %s pre-conversion"%(c.read().count(pattern),pattern))
|
||||
converted = c.read().replace(pattern, substitute)
|
||||
print ("DEBUG: %s "%converted)
|
||||
print("Confirmed %s instances of %s post-conversion"%(converted.count(substitute),substitute))
|
||||
f.write(converted)
|
||||
c.close()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue