From 2aaabf0b4c44d5f95228481a356e09c4fdf3c8d6 Mon Sep 17 00:00:00 2001 From: Zack Peng Date: Sun, 3 Jun 2018 16:44:45 -0700 Subject: [PATCH] Updated BinanceApiException to BinanceAPIException from binance.exceptions import BinanceApiException will cause an error, since the class name is updated to "BinanceAPIException". --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index ac5258bee..7c9eca207 100644 --- a/README.rst +++ b/README.rst @@ -77,13 +77,13 @@ Quick Start # withdraw 100 ETH # check docs for assumptions around withdrawals - from binance.exceptions import BinanceApiException, BinanceWithdrawException + from binance.exceptions import BinanceAPIException, BinanceWithdrawException try: result = client.withdraw( asset='ETH', address='', amount=100) - except BinanceApiException as e: + except BinanceAPIException as e: print(e) except BinanceWithdrawException as e: print(e)