Skip to content

Commit

Permalink
debug logs cleaned
Browse files Browse the repository at this point in the history
  • Loading branch information
zurdi15 committed Apr 4, 2023
1 parent 4cd2992 commit 8375ae3
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 8375ae3

Please sign in to comment.