From 2db93de1eda1d41ab94d905497d4537c32adb9f3 Mon Sep 17 00:00:00 2001 From: herz Date: Sun, 6 Mar 2022 03:12:45 +0100 Subject: [PATCH] skill_level fix --- Status_to_FaceIT_Stats.py | 3 ++- test status.txt | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Status_to_FaceIT_Stats.py b/Status_to_FaceIT_Stats.py index 2b687be..ce11883 100644 --- a/Status_to_FaceIT_Stats.py +++ b/Status_to_FaceIT_Stats.py @@ -88,7 +88,7 @@ for entrys in steamids: print("FaceIT Name: "+ rjson['nickname'],) print("Country: "+ rjson['country']) print("ELO: "+ str(rjson['games']['csgo']['faceit_elo'])) - print("Level : "+ str(rjson['games']['csgo']['faceit_elo'])) + print("Level : "+ str(rjson['games']['csgo']['skill_level'])) print() print("############################################################") @@ -104,3 +104,4 @@ for entrys in steamids: +input('Press ENTER to exit') \ No newline at end of file diff --git a/test status.txt b/test status.txt index 62837a9..6d803f5 100644 --- a/test status.txt +++ b/test status.txt @@ -1,6 +1,3 @@ - - - connected to =[A:1:3454786563:19753]:0 hostname: Valve CS:GO EU North Server (srcds8027-sto1.188.14) version : 1.38.2.1 secure @@ -20,4 +17,7 @@ players : 10 humans, 0 bots (10/10 max) (not hibernating) # 12 11 "Terminator" STEAM_1:0:140700758 15:13 100 0 active 196608 # 13 12 "juice" STEAM_1:0:14734584 15:13 66 0 active 786432 # 14 13 "halfway crook" STEAM_1:1:33757872 15:13 61 0 active 786432 -#end \ No newline at end of file +#end + + +pa \ No newline at end of file