Skip to content

Commit

Permalink
Update code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
lamby committed May 21, 2016
1 parent fa92912 commit 0b3bdd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion django_slack/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

from six.moves import urllib

from django.utils.module_loading import import_string
from django.http.request import QueryDict
from django.utils.module_loading import import_string

from .utils import Backend
from .app_settings import app_settings
Expand All @@ -15,6 +15,7 @@ class UrllibBackend(Backend):
def send(self, url, data, **kwargs):
qs = QueryDict(mutable=True)
qs.update(data)

r = urllib.request.urlopen(urllib.request.Request(
url,
qs.urlencode().encode('utf-8'),
Expand Down

0 comments on commit 0b3bdd3

Please sign in to comment.