Skip to content

Commit

Permalink
Merge pull request #73 from cyraxxPy/patch-1
Browse files Browse the repository at this point in the history
wrong check in web socket. [ None != 0 ]
  • Loading branch information
SantiiRepair authored Jul 7, 2024
2 parents f4acbb7 + ae7437b commit 26b38d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quotexpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ def websocket(self):

@staticmethod
def check_connect():
if global_value.check_websocket_if_connect == 0:
return False
return True
if global_value.check_websocket_if_connect == 1:
return True
return False

async def re_subscribe_stream(self):
try:
Expand Down

0 comments on commit 26b38d2

Please sign in to comment.