Skip to content

Commit

Permalink
fix: fix partial import in shortcuts login
Browse files Browse the repository at this point in the history
  • Loading branch information
pradishb committed Jul 9, 2024
1 parent 66b548c commit 6b143fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions league_client/shortcuts/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
from league_client.rcu.auth import get_is_country_region_missing
from league_client.rcu.auth import get_rq_data_and_site_key
from league_client.shortcuts import logger
from league_client.shortcuts.login import launch_league
from league_client.shortcuts.logout import logout
from league_client.shortcuts.process import is_running
from league_client.shortcuts.process import open_riot_client
Expand Down Expand Up @@ -64,7 +63,9 @@ def wait_until_patched(connection: LeagueConnection, timeout: float = 7200):
try:
time.sleep(10)
time_elapsed = time.time() - start_time
logger.info(f"Patching riot client. Time elapsed: {int(time_elapsed)}s.")
logger.info(
f"Patching riot client. Time elapsed: {int(time_elapsed)}s."
)
if time_elapsed > timeout:
return False
res = connection.get("/rnet-lifecycle/v1/product-context-phase")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "league-client"
version = "2.0.3"
version = "2.0.4"
dependencies = ["httpx", "psutil", "ucaptcha"]
requires-python = ">=3"
authors = [{ name = "Pradish Bijukchhe", email = "pradishbijukchhe@gmail.com" }]
Expand Down

0 comments on commit 6b143fd

Please sign in to comment.