Skip to content

Commit

Permalink
fix blurry backgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfagun74 committed May 6, 2024
1 parent e557669 commit 94cfd30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def get_steam_game(app_id):
"id": game_data["steam_appid"],
"name": game_data["name"],
"slug": game_data["name"].lower().replace(" ", "-"),
"background_image": game_data.get("background", game_data.get("background_raw", game_data.get("screenshots", [])[0].get("path_full", game_data.get("header_image", "")))),
"background_image": game_data.get("background_raw", game_data.get("screenshots", [])[0].get("path_full", game_data.get("header_image", ""))),
"box_image": f"https://steamcdn-a.akamaihd.net/steam/apps/{app_id}/library_600x900_2x.jpg",
"description_raw": clean_string(game_data.get("detailed_description", "")),
"metacritic": game_data.get("metacritic", {}).get("score", None),
Expand Down

0 comments on commit 94cfd30

Please sign in to comment.