Skip to content

Commit ed6035d

Browse files
Changed import destination of urlencode function
1 parent 2eb3160 commit ed6035d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cryptowatch/Client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
import requests
3-
from urllib.parse import urljoin, parse_qsl, urlunparse, urlparse
3+
from urllib.parse import urljoin, parse_qsl, urlunparse, urlparse, urlencode
44
import urllib
55

66
import cryptowatch.Msg as Msg
@@ -33,7 +33,7 @@ def _add_query_string(url, params):
3333
x = list(urlparse(url))
3434
q = dict(parse_qsl(x[4]))
3535
q.update(params)
36-
x[4] = urllib.urlencode(q)
36+
x[4] = urlencode(q)
3737
return urlunparse(x)
3838

3939
def GetAllowance(**kwargs):

0 commit comments

Comments
 (0)