Skip to content

Commit

Permalink
fixing self.urlencode
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Aug 19, 2017
1 parent aba2389 commit 00a856f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ccxt.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def url(path, params={}):

@staticmethod
def urlencode(params={}):
if (type(params) is dict) or instanceof(params,collections.OrderedDict):
if (type(params) is dict) or isinstance(params, collections.OrderedDict):
return _urlencode.urlencode(params)
return params

Expand Down

0 comments on commit 00a856f

Please sign in to comment.