Include date in weighing id

This commit is contained in:
2023-07-19 12:23:32 +02:00
parent 75c1209541
commit c224fd7606

View File

@ -1350,7 +1350,7 @@ def migrate_deliveries(in_dir: str, out_dir: str) -> None:
if waage:
waage = re.split(r' +', waage)
scale_id = waage[1]
weighing_id = waage[3]
weighing_id = f'{date}/{waage[3]}'
comment: Optional[str] = d['Anmerkung']
acid = d['Säure']