cleitonleonel / pyquotex

Unofficial Quotex Library
Other
69 stars 53 forks source link

wrong check in web socket. [ None != 0 ] #21

Closed cyraxxPy closed 4 months ago

cyraxxPy commented 4 months ago

ineffective/wrong check (global_value.check_websocket_if_connect) as default value seems to be None. and "None" is not equal to "0". check websocket via "1" to return True else False. better and correct approach.

the previous check results in multiple websockets connections as the global_value.check_websocket_if_connect seems to be wrongly used. thanks