Commit 76072570 authored by ArAZimin's avatar ArAZimin
Browse files

Update recomendation_system.py

parent 29c9277f
......@@ -90,6 +90,9 @@ def calc_recomendation_by_location(user_data, all_data, tags_recomendation):
for x in result_id:
if result_id.count(x) > 1:
result_id.remove(x)
for index in list(all_data.keys()):
if index not in result_id:
result_id.insert(x, index)
return result_id
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment