Fix AttributeError
This commit is contained in:
parent
f13950590e
commit
3a73b9de44
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class FullSync(common.libsync_mixin):
|
|||
super(FullSync, self).__init__()
|
||||
|
||||
def update_progressbar(self):
|
||||
if self.show_dialog:
|
||||
if self.dialog:
|
||||
try:
|
||||
progress = int(float(self.current) / float(self.total) * 100.0)
|
||||
except ZeroDivisionError:
|
||||
|
|
Loading…
Reference in a new issue