Skip to content
This repository has been archived by the owner on Sep 30, 2022. It is now read-only.

Commit

Permalink
rauc_dbus_ddi_client: use step_callback to indicate download in progress
Browse files Browse the repository at this point in the history
Signed-off-by: Enrico Joerns <ejo@pengutronix.de>
  • Loading branch information
ejoerns committed Oct 30, 2017
1 parent 81ed66e commit 5fe37df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rauc_hawkbit/rauc_dbus_ddi_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ async def download_artifact(self, action_id, url, md5sum,
except AttributeError:
static_api_url = True

if self.step_callback:
self.step_callback(0, "Downloading bundle...")

# try several times
for dl_try in range(tries):
if not static_api_url:
Expand Down

0 comments on commit 5fe37df

Please sign in to comment.