Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
developers192 committed Sep 13, 2023
1 parent fd2cabc commit 5387b4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DetailedLoLRPC.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from multiprocessing import Process, freeze_support
from subprocess import Popen, PIPE
from nest_asyncio import apply
from json import dump

if __name__ == "__main__":

Expand Down Expand Up @@ -45,13 +44,14 @@ async def connect(connection):

internalName = summoner['internalName']
summonerId = summoner['summonerId']
region = await connection.request('get', '/riotclient/get_region_locale')
region = await connection.request('get', '/riotclient/region-locale')
locale = (await region.json())['locale'].lower()

async with request("GET", localeDiscordStrings(locale)) as resp:
discord_strings = await resp.json()
async with request("GET", localeChatStrings(locale)) as resp:
chat_strings = await resp.json()

discStrings = {
"bot": discord_strings["Disc_Pres_QueueType_BOT"],
"champSelect": discord_strings["Disc_Pres_State_championSelect"],
Expand Down
2 changes: 1 addition & 1 deletion utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from pickle import load, dump
from easygui import enterbox

VERSION = "v2.3"
VERSION = "v2.4"
GITHUBURL = "https://github.com/developers192/DetailedLoLRPC/releases/latest"
DEFAULTCONFIG = {
"useSkinSplash": True,
Expand Down

0 comments on commit 5387b4b

Please sign in to comment.