From 00a856fb82662d8ed501af7ab5e130308a0bac09 Mon Sep 17 00:00:00 2001 From: Igor Kroitor Date: Sat, 19 Aug 2017 08:55:22 +0300 Subject: [PATCH] fixing self.urlencode --- ccxt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccxt.py b/ccxt.py index ebb5e73a30e9..38cdafe71c3c 100644 --- a/ccxt.py +++ b/ccxt.py @@ -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