diff --git a/image_creator/disk.py b/image_creator/disk.py index 9476dc507c8296d8b5538514553b775c86872536..f117e804dc9f9a7b62965ccdfefab3b3a64326f9 100644 --- a/image_creator/disk.py +++ b/image_creator/disk.py @@ -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."""