LUCIT-Systems-and-Development / unicorn-binance-websocket-api

A Python SDK by LUCIT to use the Binance Websocket API`s (com+testnet, com-margin+testnet, com-isolated_margin+testnet, com-futures+testnet, com-coin_futures, us, tr, dex/chain+testnet) in a simple, fast, flexible, robust and fully-featured way.
https://unicorn-binance-websocket-api.docs.lucit.tech/
Other
683 stars 164 forks source link

Fixed error "Error: 2 - string indices must be integers", issue #98 #103

Closed Flowelfox closed 4 years ago

Flowelfox commented 4 years ago

Description

Added additional check for dict when searching for errors.

Related Issue

98

Motivation and Context

This pull request fixes critical error in library because kline stream constantly restarting

How Has This Been Tested

Tested localy

Types of changes

Checklist

Flowelfox commented 4 years ago

I forgot brackets, changed commit and created another pull request, can you please check?

106