Skip to content

Commit

Permalink
pylint passed
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiiRepair committed Jul 24, 2024
1 parent 9982906 commit ec40bdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion quotexpy/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ async def connect(self) -> bool:
if not self.SSID:
self.SSID, self.cookies = await self.get_ssid()
check_websocket = self.start_websocket()
print(self.refresh())
return check_websocket

async def get_ssid(self) -> typing.Tuple[str, str]:
Expand Down
5 changes: 2 additions & 3 deletions quotexpy/http/refresh.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def __call__(self):
return data.get("token")
else:
raise KeyError("token not found in response data")
else:
raise ValueError("error refreshing ssid, maybe your client started without credentials?")
raise ValueError("error refreshing ssid, maybe your client started without credentials?")
except Exception as err:
raise RuntimeError(f"unhandled error: {str(err)}")
raise RuntimeError(f"unhandled error: {str(err)}") from err

0 comments on commit ec40bdf

Please sign in to comment.