Skip to content

Commit e345ff9

Browse files
committed
Fixed unassigned var
1 parent a009ee9 commit e345ff9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/PyMatcha/routes/api/search.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def search():
7878
if max_distance != -1:
7979
raise BadRequestError("user needs to sets his location first")
8080

81+
common_tags = []
8182
if tags:
8283
user_tags = [t.name for t in user.get_tags()]
8384
common_tags = _get_common_tags(tags, user_tags)

0 commit comments

Comments
 (0)