Skip to content
Snippets Groups Projects
Commit c54fc0e8 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Fix wrong variable name in progress_callback

parent 0ae01e26
No related branches found
No related tags found
No related merge requests found
......@@ -174,12 +174,10 @@ class DiskDevice(object):
position = array[2]
total = array[3]
assert self.progress_bar is not None
print 'posisition/total: %s/%s' % (position, total)
self.progress_bar.send((position * 100)//total)
self.progressbar.send((position * 100)//total)
if position == total:
self.progress_bar = None
self.progressbar = None
def mount(self):
"""Mount all disk partitions in a correct order."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment