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