some testsing
This commit is contained in:
@@ -142,6 +142,7 @@ def meta_from_profile(profile: dict) -> dict:
|
||||
raise Exception("Could not get profile metadata", profile)
|
||||
|
||||
cols = [
|
||||
"name",
|
||||
"steam64Id",
|
||||
"isCollector",
|
||||
"isLeetifyStaff",
|
||||
@@ -170,7 +171,7 @@ def convert_game_scores(game: dict) -> dict:
|
||||
|
||||
def games_from_profile(profile: dict) -> list:
|
||||
games = profile.get("games")
|
||||
if not games:
|
||||
if not games and not type(games) == list:
|
||||
raise Exception("Could not get games from profile", profile)
|
||||
|
||||
meta = profile.get("meta")
|
||||
|
||||
Reference in New Issue
Block a user