Corrected what was being sent to the get_app_id method
This commit is contained in:
parent
305d18ba64
commit
4ce7340600
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ class Steam:
|
||||||
return
|
return
|
||||||
app_id = int(option[1])
|
app_id = int(option[1])
|
||||||
except ValueError:
|
except ValueError:
|
||||||
app_id = get_app_id(option[1].lower())
|
app_id = get_app_id(game.lower())
|
||||||
|
|
||||||
url = "{}/ISteamUserStats/GetPlayerAchievements/v0001/?key={}&steamid={}&appid={}".format(base_url, self.key, steam_id, app_id)
|
url = "{}/ISteamUserStats/GetPlayerAchievements/v0001/?key={}&steamid={}&appid={}".format(base_url, self.key, steam_id, app_id)
|
||||||
elif option[0] == "games":
|
elif option[0] == "games":
|
||||||
|
|
Loading…
Reference in a new issue