Remove leading whitespace from files

This commit is contained in:
Daniel_I_Am 2022-01-04 16:25:04 +01:00
parent 974a67d74b
commit 06dc51b762

2
run.py
View File

@ -156,7 +156,7 @@ def get_current_umask():
def dryrun_safe_write(location, content): def dryrun_safe_write(location, content):
if not args.dryrun: if not args.dryrun:
with open(location, 'w') as file: with open(location, 'w') as file:
file.write(content) file.write(content.lstrip())
else: else:
print(f'Would write to `{location}`.') print(f'Would write to `{location}`.')