Skip to content

Commit

Permalink
Use constant in sql
Browse files Browse the repository at this point in the history
Co-authored-by: Krystle Salazar <krystle.salazar@automattic.com>
  • Loading branch information
stacimc and krysal authored Jan 4, 2024
1 parent 7362132 commit d57aa1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions catalog/dags/providers/provider_api_scripts/jamendo.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ def create_postingestion_tasks():
"""

select_query = (
"WHERE provider='jamendo' AND meta_data->>'audiodownload_allowed'"
" = 'False'"
f"WHERE provider='{prov.JAMENDO_DEFAULT_PROVIDER}' "
"AND meta_data->>'audiodownload_allowed' = 'False'"
)

@task_group(group_id="delete_records_with_downloads_disabled")
Expand Down

0 comments on commit d57aa1a

Please sign in to comment.