diff options
Diffstat (limited to 'mageiaSync')
-rw-r--r-- | mageiaSync/mageiaSyncExt.py | 1 | ||||
-rw-r--r-- | mageiaSync/mageiasync.py | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/mageiaSync/mageiaSyncExt.py b/mageiaSync/mageiaSyncExt.py index fd57ea3..e93ab1e 100644 --- a/mageiaSync/mageiaSyncExt.py +++ b/mageiaSync/mageiaSyncExt.py @@ -193,6 +193,7 @@ class syncThread(QThread): self.speedSignal.emit(0) self.progressSignal.emit(0) self.sizeSignal.emit(0) + self.remainSignal.emit("") self.stopped=False self.list=[] self.quit() diff --git a/mageiaSync/mageiasync.py b/mageiaSync/mageiasync.py index b675f63..07e32da 100644 --- a/mageiaSync/mageiasync.py +++ b/mageiaSync/mageiasync.py @@ -142,9 +142,9 @@ class IsosViewer(QMainWindow, mageiaSyncUI.Ui_mainWindow): # Update the speed field self.speedLCD.display(value) - def setSize(self, value): + def setSize(self, size): # Update the size field - self.Lsize.setText(str(value)+" bytes") + self.Lsize.setText('{:n}'.format(size).replace(","," ")+" bytes") def setRemain(self,remainTime): content=QtCore.QTime.fromString(remainTime,"h:mm:ss") |