Skip to content

Commit

Permalink
Fix Related recommender results logging (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
eu9ene authored Jan 18, 2021
1 parent bb835d3 commit 47c797d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taar/recommenders/guid_based_recommender.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def recommend(self, client_data, limit=4):

self.logger.info(
"Addon related recommendations results",
extra={'guid': str(addon_guid), 'recs': [str(r) for r in result_list[:limit]]}
extra={'guid': str(addon_guid), 'recs': [str(r[0]) for r in result_list[:limit]]}
)

return result_list[:limit]
Expand Down

0 comments on commit 47c797d

Please sign in to comment.