From 47c797d9bda008f26a04e746fda3d4915565941b Mon Sep 17 00:00:00 2001 From: Evgeny Pavlov Date: Mon, 18 Jan 2021 10:10:13 -0800 Subject: [PATCH] Fix Related recommender results logging (#186) --- taar/recommenders/guid_based_recommender.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taar/recommenders/guid_based_recommender.py b/taar/recommenders/guid_based_recommender.py index fe8b95f..b1c70c0 100644 --- a/taar/recommenders/guid_based_recommender.py +++ b/taar/recommenders/guid_based_recommender.py @@ -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]