Browse Source
Update setup.py
remove spaces in property file write
master
Gerry Nelson
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
7 additions and
0 deletions
-
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() |
|
|
|
|
|
|
|
|