Skip to content

Commit

Permalink
Merge pull request #137 from zurdi15/develop
Browse files Browse the repository at this point in the history
debug logs cleaned
  • Loading branch information
zurdi15 authored Apr 4, 2023
2 parents 5c7f270 + 8375ae3 commit e85c5e6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/src/handler/igdb_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ def get_matched_roms(self, file_name: str, p_igdb_id: int, p_slug: str) -> list:
matched_roms: list[dict] = []
if p_igdb_id != '':
search_term: str = unidecode.unidecode(re.sub('[\(\[].*?[\)\]]', '', file_name.split('.')[0]))
log.debug(search_term)
matched_roms: list = requests.post("https://api.igdb.com/v4/games/", headers=self.headers,
data=f"search \"{search_term}\";fields name, id, slug, summary; where platforms=[{p_igdb_id}];").json()
log.info(f"Matched roms for {file_name}: {matched_roms}")
Expand Down

0 comments on commit e85c5e6

Please sign in to comment.