fixing dashboard
All checks were successful
Deployment / deploy-docker (push) Successful in 13s

This commit is contained in:
Melchior Reimers
2026-01-25 15:11:52 +01:00
parent 9161300cfc
commit d764a0b8ce

View File

@@ -141,7 +141,7 @@ def save_metadata(metadata):
line = f'metadata,isin={isin} name="{name}",country="{country}",continent="{continent}",sector="{sector}"' line = f'metadata,isin={isin} name="{name}",country="{country}",continent="{continent}",sector="{sector}"'
try: try:
response = requests.post(f"http://{DB_HOST}:9000/write", data=line + "\\n", auth=DB_AUTH) response = requests.post(f"http://{DB_HOST}:9000/write", data=line + "\n", auth=DB_AUTH)
if response.status_code not in [200, 204]: if response.status_code not in [200, 204]:
logger.error(f"Error saving metadata: {response.text}") logger.error(f"Error saving metadata: {response.text}")
except Exception as e: except Exception as e: