diff options
Diffstat (limited to 'mageiaSync/mageiasync.py')
-rw-r--r-- | mageiaSync/mageiasync.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mageiaSync/mageiasync.py b/mageiaSync/mageiasync.py index 068d779..ffc8015 100644 --- a/mageiaSync/mageiasync.py +++ b/mageiaSync/mageiasync.py @@ -523,6 +523,7 @@ class IsosViewer(QMainWindow, mageiaSyncUI.Ui_mainWindow): remoteRow = isoIndex.row() path = self.modelRemote.data(self.modelRemote.index(remoteRow,0)) name = self.modelRemote.data(self.modelRemote.index(remoteRow,1)) + size = int(self.modelRemote.data(self.modelRemote.index(remoteRow,2)).replace(" ","")) try: # Look for ISO in local list item=self.model.findItems(name,QtCore.Qt.MatchExactly,1)[0] @@ -539,7 +540,7 @@ class IsosViewer(QMainWindow, mageiaSyncUI.Ui_mainWindow): self.nameWithPath=self.location+path if (not str(path).endswith('/')): self.nameWithPath+='/' - self.rsyncThread.setup(self.nameWithPath, self.destination+'/'+path+'/',row) + self.rsyncThread.setup(self.nameWithPath, self.destination+'/'+path+'/', size, row) self.rsyncThread.start() # start the thread def closeFill(self,code): |