Remove added newline

This commit is contained in:
Augusto Gunsch 2022-11-15 18:31:02 +01:00
parent 9a978e23e1
commit 9616c26cb8
No known key found for this signature in database
GPG Key ID: F7EEFE29825C72DC
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[metadata]
name = subprompt
version = 0.0.6
version = 0.0.7
author = Augusto Lenz Gunsch
author_email = augusto@augustogunsch.com
description = Substitute Regex in files with prompt confirmation

View File

@ -160,7 +160,6 @@ class Filter:
if hash_old.digest() != hash_new.digest():
with open(fname, 'w') as file:
file.write(new_contents)
file.write('\n')
def run(args):
parser = argparse.ArgumentParser(description='Modifies lines matched by a regex interactively')