silly 's'

This commit is contained in:
georgelinsdell 2017-12-20 15:38:48 +00:00
commit 58feb96120

View file

@ -30,7 +30,7 @@ def main(argv):
with open(filecopy) as c:
print("Detected %s instances of %s pre-conversion"%(c.read().count(pattern),pattern))
converted = c.read().replace(pattern, substitute)
print("Confirmed %s instances of %s post-conversion"%s(converted.count(substitute),substitute))
print("Confirmed %s instances of %s post-conversion"%(converted.count(substitute),substitute))
f.write(converted)
return 0