We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 084e5f8 commit ce63b59Copy full SHA for ce63b59
backend/PyMatcha/utils/recommendations.py
@@ -30,6 +30,8 @@ def create_user_recommendations(user_to_update):
30
31
query = _get_gender_query(user_to_update.orientation, user_to_update.gender)
32
33
+ if not query:
34
+ return
35
for user in query:
36
if user.id == user_to_update.id:
37
continue
0 commit comments