1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

chore: minor refactorings to custom time parsing logic

This commit is contained in:
Ferdinand Mütsch
2021-04-25 09:21:21 +02:00
parent 0556efd39a
commit 26ef93c1af
3 changed files with 17 additions and 19 deletions

View File

@ -272,7 +272,7 @@ def run(params: ConfigParams, update_progress: Callable[[int], None]):
else:
for d in data:
post_data_sync([d], f'{params.api_url}/heartbeats', params.api_key)
update_progress(len(d))
update_progress(1)
if __name__ == '__main__':