Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions valorant/local/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
)
Expand Down