Browse Source

Update setup.py

remove spaces in property file write
master
Gerry Nelson 5 years ago
committed by GitHub
parent
commit
9b4668336b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      setup.py

7
setup.py

@ -71,3 +71,10 @@ config.filename = prop_file
config.write() config.write()
# remove spaces
with open(prop_file, 'r+') as f:
txt = f.read().replace(' ', '')
f.seek(0)
f.write(txt)
f.truncate()

Loading…
Cancel
Save