Bugfixes: Vitals Import (German columns + decimal values) #23

Merged
Lars merged 6 commits from develop into main 2026-03-23 16:52:28 +01:00
2 changed files with 8 additions and 2 deletions
Showing only changes of commit 7dcab1d7a3 - Show all commits

View File

@ -376,7 +376,10 @@ async def import_omron_csv(
))
result = cur.fetchone()
if result and result['inserted']:
if result is None:
# WHERE clause prevented update (manual entry exists)
skipped += 1
elif result['inserted']:
inserted += 1
else:
updated += 1

View File

@ -357,7 +357,10 @@ async def import_apple_health_baseline(
))
result = cur.fetchone()
if result and result['inserted']:
if result is None:
# WHERE clause prevented update (manual entry exists)
skipped += 1
elif result['inserted']:
inserted += 1
else:
updated += 1