diff options
| author | Aymeric Augustin | 2014-01-26 21:05:20 +0100 | 
|---|---|---|
| committer | Aymeric Augustin | 2014-01-26 21:05:20 +0100 | 
| commit | a714bf5940b03e5b1db87159f5bf37679188131d (patch) | |
| tree | cc3c015b2863a8602a6be5da097826a9d4f87d74 | |
| parent | 55636f20076c4c9cd444b8dc7dc309fda2e5e7ec (diff) | |
| download | django-debug-toolbar-a714bf5940b03e5b1db87159f5bf37679188131d.tar.bz2 | |
Fix stupid bug in previous commit.
| -rw-r--r-- | debug_toolbar/panels/sql/forms.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/debug_toolbar/panels/sql/forms.py b/debug_toolbar/panels/sql/forms.py index b4c31cc..582f611 100644 --- a/debug_toolbar/panels/sql/forms.py +++ b/debug_toolbar/panels/sql/forms.py @@ -81,7 +81,7 @@ class SQLSelectForm(forms.Form):          # Replace lines endings with spaces to preserve the hash value          # even when the browser normalizes \r\n to \n in inputs.          items = [force_text(' '.join(item.splitlines())) for item in items] -        return hashlib.sha1(sum(items, '').encode('utf-8')).hexdigest() +        return hashlib.sha1(''.join(items).encode('utf-8')).hexdigest()      @property      def connection(self): | 
