From 9b4668336bb27f3744d35659a2d6cf7489132cdf Mon Sep 17 00:00:00 2001 From: Gerry Nelson <45608078+gerrynelson63@users.noreply.github.com> Date: Mon, 12 Apr 2021 15:44:14 -0400 Subject: [PATCH] Update setup.py remove spaces in property file write --- setup.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/setup.py b/setup.py index 5398407..860f49d 100755 --- a/setup.py +++ b/setup.py @@ -71,3 +71,10 @@ config.filename = prop_file config.write() +# remove spaces +with open(prop_file, 'r+') as f: + txt = f.read().replace(' ', '') + f.seek(0) + f.write(txt) + f.truncate() +