From c6e8b94f0174e6af13555a73543ef967d41cccab Mon Sep 17 00:00:00 2001 From: MathiasSchweitzer <141708837+MathiasSchweitzer@users.noreply.github.com> Date: Thu, 18 Jul 2024 17:09:41 +0200 Subject: [PATCH] Update client.py Replaced "reigon" by "region" --- valorant/local/client.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/valorant/local/client.py b/valorant/local/client.py index f227635..f702ac5 100644 --- a/valorant/local/client.py +++ b/valorant/local/client.py @@ -24,11 +24,11 @@ class LocalClient(object): :type region: str """ - def __init__(self, reigon="na"): - if reigon not in Lex.REGIONS: - raise ValueError(f"'{reigon}' is not a supported reigon for LocalClient.") + def __init__(self, region="na"): + if region not in Lex.REGIONS: + raise ValueError(f"'{region}' is not a supported region for LocalClient.") - self.reigon = reigon + self.region = region self.lockfile = "".join( [os.getenv("LOCALAPPDATA"), r"\Riot Games\Riot Client\Config\lockfile"] )