HMBXR5601-827 - Versionstamper.py is leaving excess files in package
This commit is contained in:
parent
b83050abc0
commit
383fe72e7b
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ def main(argv):
|
|||
fileread = c.read()
|
||||
|
||||
count = 0
|
||||
with open(filetoconvert, 'x') as f:
|
||||
with open(filetoconvert, 'w') as f:
|
||||
print("Detected %s instances of %s pre-conversion"%(fileread.count(pattern),pattern))
|
||||
converted = fileread.replace(pattern, substitute)
|
||||
count = converted.count(substitute)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue