Strip spaces from survey
This commit is contained in:
parent
6caf8bc741
commit
418dce95db
@ -35,7 +35,7 @@ def send_survey(data):
|
||||
|
||||
post = ''
|
||||
for i in data.keys():
|
||||
post += '%s: %s\n' % (i, data[i])
|
||||
post += '%s: %s\n' % (i, data[i].strip())
|
||||
|
||||
# sends the string
|
||||
params = urllib.parse.urlencode({'survey': post})
|
||||
|
Loading…
x
Reference in New Issue
Block a user