Skip to content

Commit

Permalink
nexmo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gotlium committed Jul 21, 2017
1 parent d7f9fd8 commit 599abaa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dbmail/providers/nexmo/sms.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# -*- coding: utf-8 -*-

from urllib import urlopen, urlencode
try:
from urllib import urlopen, urlencode
except ImportError:
from urllib.request import urlopen
from urllib.parse import urlencode
from json import loads

from django.conf import settings
Expand Down

0 comments on commit 599abaa

Please sign in to comment.