Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion binance/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
OptionsDepthCacheManager, # noqa
ThreadedDepthCacheManager, # noqa
FuturesDepthCacheManager, # noqa
OptionsDepthCacheManager, # noqa
)
from binance.ws.streams import (
BinanceSocketManager, # noqa
Expand Down
2 changes: 1 addition & 1 deletion binance/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def round_step_size(
def convert_ts_str(ts_str):
if ts_str is None:
return ts_str
if type(ts_str) == int:
if isinstance(ts_str, int):
return ts_str
return date_to_milliseconds(ts_str)

Expand Down
Loading