Skip to content

Commit 41e6807

Browse files
authored
Merge pull request #174 from cedricrupb/fix-identifier-bug
Fix a potential identifier bug
2 parents ac57ad0 + 59bd1ce commit 41e6807

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/server/tasks/webshop/web_agent_site/attributes/generate_attrs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def get_corpus(
9797
for key in keys:
9898
if key == 'review':
9999
rs = p['review']['reviews']
100-
if r is not None:
100+
if rs is not None:
101101
text_ = ' '.join([r['review'].lower() for r in rs])
102102
else:
103103
text_ = ''

0 commit comments

Comments
 (0)