Skip to content
This repository was archived by the owner on Sep 28, 2024. It is now read-only.

Commit a32f186

Browse files
committed
Bug fix
1 parent 2bd07ca commit a32f186

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nintendeals/noa/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def build_game(data: Dict) -> Game:
5454

5555
# Features
5656
filters = list(map(str.lower, data.get("topLevelFilters") or []))
57-
nso_features = data.get("nsoFeatures") or []
57+
nso_features = list(map(str.lower, data.get("nsoFeatures") or []))
5858

5959
game.features = {
6060
Features.DEMO: "demo available" in filters,

tests/test_noe/test_game_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_game_info_switch(self):
4747
)
4848
self.assertEqual(
4949
game.eshop.uk_en,
50-
"https://www.nintendo.co.uk/Games/Nintendo-Switch-games/Super-Smash-Bros-Ultimate-1395713.html",
50+
"https://www.nintendo.co.uk/en-gb/Games/Nintendo-Switch-games/Super-Smash-Bros-Ultimate-1395713.html",
5151
)
5252
self.assertEqual(
5353
game.eshop.za_en,

0 commit comments

Comments
 (0)