From 06dc51b762057dd24d80ff3612ba0f033d5688cc Mon Sep 17 00:00:00 2001 From: Daniel-I-Am Date: Tue, 4 Jan 2022 16:25:04 +0100 Subject: [PATCH] Remove leading whitespace from files --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index 7e3b300..e582d20 100755 --- a/run.py +++ b/run.py @@ -156,7 +156,7 @@ def get_current_umask(): def dryrun_safe_write(location, content): if not args.dryrun: with open(location, 'w') as file: - file.write(content) + file.write(content.lstrip()) else: print(f'Would write to `{location}`.')