Skip to content

Commit

Permalink
Merge pull request #33 from ricardospinoza/main
Browse files Browse the repository at this point in the history
Update stable_api.py
  • Loading branch information
ricardospinoza authored Nov 21, 2023
2 parents 5f71e57 + c5b9f1a commit 2910eeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quotexpy/stable_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,10 @@ async def start_remaing_time(self):
async def check_win(self, asset, id_number):
"""Check win based id"""
self.logger.debug(f"begin check wind {id_number}")
#await self.start_remaing_time()
await self.start_remaing_time()
#start_time = time.time()
#listinfodata_dict = {}
while await self.start_remaing_time(): #True: #time.time() - start_time < 5:
while True: #await self.start_remaing_time():
try:
listinfodata_dict = self.api.listinfodata.get(asset)
if listinfodata_dict and listinfodata_dict["game_state"] == 1:
Expand Down

0 comments on commit 2910eeb

Please sign in to comment.