Strip spaces from survey

This commit is contained in:
Salvo 'LtWorf' Tomaselli 2017-05-10 21:53:51 +02:00
parent 6caf8bc741
commit 418dce95db
No known key found for this signature in database
GPG Key ID: B3A7CF0C801886CF

View File

@ -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})