Skip to content

Commit

Permalink
Remove duplicates returned by the individuals method
Browse files Browse the repository at this point in the history
  • Loading branch information
LBeaudoux committed Aug 19, 2024
1 parent 2b5717b commit 0839705
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def load_macros(datafile: str, db: sqlite3.Connection):
db.execute(
"""
INSERT INTO macros
SELECT
SELECT DISTINCT
CASE
WHEN r1.change_to IS NULL OR r1.change_to = ''
THEN m.macro
Expand Down
Loading

0 comments on commit 0839705

Please sign in to comment.