Skip to content

Commit

Permalink
Fixing function get_subregions_character
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanashii76 committed Jan 13, 2025
1 parent cd2690d commit 61e11d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/queries/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def get_subregions_character(conn, sub_regiao_id):
JOIN sub_regiao sr1 ON src.sub_regiao_1 = sr1.id
JOIN sub_regiao sr2 ON src.sub_regiao_2 = sr2.id
WHERE sr1.id = %s OR sr2.id = %s;
""", (sub_regiao_id,)
""", (sub_regiao_id, sub_regiao_id, sub_regiao_id)
)
result = cur.fetchall()
return result
Expand Down

0 comments on commit 61e11d0

Please sign in to comment.