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

chore: minor tweaks to migration script

This commit is contained in:
Ferdinand Mütsch
2021-04-23 15:50:00 +02:00
parent 030181fb2f
commit 0556efd39a
3 changed files with 26 additions and 20 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(data))
update_progress(len(d))
if __name__ == '__main__':