csv_metadata_quality/check.py: enable requests-cache

This was disabled at some point. We also need to use the new delete
method instead.
This commit is contained in:
Alan Orth 2023-10-15 23:21:26 +03:00
parent 93c9b739ac
commit b8dc19cc3f
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ def agrovoc(field, field_name, drop):
)
# prune old cache entries
# requests_cache.remove_expired_responses()
requests_cache.delete()
# Initialize an empty list to hold the validated AGROVOC values
values = list()