Unverified Commit 9ddb4e36 authored by Rick Mesta's avatar Rick Mesta Committed by GitHub
Browse files

Merge pull request #52 from truenas/revert-48-revert-47-NAS-114722-22.02

Revert "Revert "NAS-114722 / 22.02 / Safer reporting of job progress (by themylogin)""
parents 3f607894 baf0bc15
Showing with 1 addition and 1 deletion
+1 -1
......@@ -79,7 +79,7 @@ class CallMixin(object):
return None
def _job_callback(self, job):
text = f"[{int(job['progress']['percent'])}%] {job['progress']['description'] or ''}..."
text = f"[{job['progress']['percent']}%] {job['progress']['description']}..."
if text != self.job_last_printed_description:
print(text)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment