[Python-modules-commits] [python-social-auth] 11/32: Fix decoding of request args
Wolfgang Borgert
debacle at moszumanska.debian.org
Sat Dec 24 15:13:46 UTC 2016
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to tag v0.2.12
in repository python-social-auth.
commit 35a48beaadb683a3ae2af0ffff2ffdee301e71fd
Author: Maarten van Schaik <maarten at byte.nl>
Date: Fri Jul 3 16:48:33 2015 +0200
Fix decoding of request args
---
social/strategies/tornado_strategy.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/social/strategies/tornado_strategy.py b/social/strategies/tornado_strategy.py
index f10a885..5327569 100644
--- a/social/strategies/tornado_strategy.py
+++ b/social/strategies/tornado_strategy.py
@@ -29,7 +29,7 @@ class TornadoStrategy(BaseStrategy):
def request_data(self, merge=True):
# Multiple valued arguments not supported yet
- return dict((key, val[0])
+ return dict((key, val[0].decode())
for key, val in six.iteritems(self.request.arguments))
def request_host(self):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git
More information about the Python-modules-commits
mailing list