"""Quick patch — run once then delete."""
with open('src/ingestion/process_daily_rates.py', 'r') as f:
    content = f.read()

content = content.replace(
    'row_str = " ".join(row).lower()',
    'row_str = " ".join(str(x) for x in row).lower()'
)

with open('src/ingestion/process_daily_rates.py', 'w') as f:
    f.write(content)

print('UK fix applied.')
