We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61d657e commit 3768e08Copy full SHA for 3768e08
binance/__init__.py
@@ -13,7 +13,6 @@
13
OptionsDepthCacheManager, # noqa
14
ThreadedDepthCacheManager, # noqa
15
FuturesDepthCacheManager, # noqa
16
- OptionsDepthCacheManager, # noqa
17
)
18
from binance.ws.streams import (
19
BinanceSocketManager, # noqa
binance/helpers.py
@@ -76,7 +76,7 @@ def round_step_size(
76
def convert_ts_str(ts_str):
77
if ts_str is None:
78
return ts_str
79
- if type(ts_str) == int:
+ if isinstance(ts_str, int):
80
81
return date_to_milliseconds(ts_str)
82
0 commit comments