Skip to content

Commit

Permalink
Use KZ taxonomy source
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Dec 22, 2024
1 parent 881dcd4 commit 653fba1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conf/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
GOOGLE_MAPS_API_KEY = get_env('ETL_GOOGLE_MAPS_API_KEY')

OPENELIGIBILITY_YAML_URL = (
'https://raw.githubusercontent.com/hasadna/openeligibility/main/taxonomy.tx.yaml'
'https://raw.githubusercontent.com/kolzchut/openeligibility/main/taxonomy.tx.yaml'
)

BUDGETKEY_DATABASE_URL = 'postgresql://readonly:readonly@data-next.obudget.org/budgetkey'
Expand Down
2 changes: 1 addition & 1 deletion operators/derive/manual_fixes.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def fetch_aux_table(self, var, table):

def normalize_ids(self, slugs):
slugs = slugs or ''
return ','.join(sorted(set(s.strip() for s in slugs.split(','))))
return ','.join(sorted(filter(None, set(s.strip() for s in slugs.split(',')))))

def apply_manual_fixes(self):
def func(row):
Expand Down

0 comments on commit 653fba1

Please sign in to comment.