Skip to content

Commit bd83706

Browse files
author
Sam McHardy
committed
Merge branch 'bugfix/remove_enum_reference' into develop
2 parents 2fe9981 + 9a4ffdf commit bd83706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

binance/websockets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def start_depth_socket(self, symbol, callback, depth=None):
154154
155155
"""
156156
socket_name = symbol.lower() + '@depth'
157-
if depth and depth != self.WEBSOCKET_DEPTH_1:
157+
if depth and depth != '1':
158158
socket_name = '{}{}'.format(socket_name, depth)
159159
return self._start_socket(socket_name, callback)
160160

0 commit comments

Comments
 (0)