withings-sync
withings-sync copied to clipboard
Some weights measurements discarded incorrectly
Hello, this line of code:
https://github.com/jaroslawhartman/withings-sync/blob/630a7c5c3503cd2b79ca46297ab1b99cb91e1c74/withings_sync/sync.py#L309
incorrectly deletes all entries that may have already been stored in sync_dict[dt]
in previous iterations of the loop.
I've looked around briefly but simply removing the line seems the proper fix, and it solves my problem of some weights measurements gone missing. Thanks!