diff --git a/PROJECT.org b/PROJECT.org index ce714a1..de951eb 100644 --- a/PROJECT.org +++ b/PROJECT.org @@ -88,7 +88,7 @@ fetching and simple saving. *** Metadata sources **** Scraper -* Backlog [0/26] :vrobbler:project:personal: +* Backlog [2/26] :vrobbler:project:personal: ** TODO [#C] After transition to linux add curl_cffi as webpage scrapper again :webpages:metadata: ** TODO [#C] Create small utility to clean up tracks scrobbled with wonky playback times :bug:music:scrobbles: :PROPERTIES: @@ -619,7 +619,7 @@ The Edit log form should have from top to bottom: - Expansion ids (which should a multi-select widget of expansions for this game) - Location (which should be a drop down of BoardGameLocations for this user) -** TODO Fix bug in fetching expansions for board games :boardgames: +** DONE Fix bug in fetching expansions for board games :boardgames: :PROPERTIES: :ID: 17995312-e76e-4a50-b591-0eab78cb59ab :END: @@ -642,7 +642,7 @@ The Edit log form should have from top to bottom: boardgamegeek.exceptions.BGGApiError: invalid data for game id: 242117 #+end_src -** TODO Board games should have genres extracted from family data :boardgames:metadata: +** DONE Board games should have genres extracted from family data :boardgames:metadata: :PROPERTIES: :ID: 7214b270-dccc-4b98-ac58-ff4f76c8cda9 :END: diff --git a/vrobbler/apps/boardgames/models.py b/vrobbler/apps/boardgames/models.py index c3bd442..a303167 100644 --- a/vrobbler/apps/boardgames/models.py +++ b/vrobbler/apps/boardgames/models.py @@ -442,8 +442,8 @@ class BoardGame(ScrobblableMixin): game.publisher = publisher skip_expansions = ( - game.bggeek_id - and game.bggeek_id.isdigit() + game.bggeek_id is not None + and str(game.bggeek_id).isdigit() and int(game.bggeek_id) in settings.SKIP_AUTO_EXPANSION_DOWNLOAD ) or any( c == "Collectible Card Games" for c in categories