From c88f5b497a2426ba189da1fe812b356fdb9e072a Mon Sep 17 00:00:00 2001 From: nanoric Date: Fri, 12 Oct 2018 02:04:27 -0400 Subject: [PATCH] =?UTF-8?q?[Mod]=20errorCode2String=E6=94=B9=E5=90=8D?= =?UTF-8?q?=E4=B8=BAerrorCodeToString?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/api/okexfuture/OkexFutureApi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnpy/api/okexfuture/OkexFutureApi.py b/vnpy/api/okexfuture/OkexFutureApi.py index 9d9809e8..905a3258 100644 --- a/vnpy/api/okexfuture/OkexFutureApi.py +++ b/vnpy/api/okexfuture/OkexFutureApi.py @@ -413,7 +413,7 @@ class OkexFutureRestClient(OkexFutureRestBase): #---------------------------------------------------------------------- @staticmethod - def errorCode2String(code): + def errorCodeToString(code): assert code in errorCodeMap return errorCodeMap[code]