diff options
-rw-r--r-- | mageiaSync/mageiasync.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mageiaSync/mageiasync.py b/mageiaSync/mageiasync.py index a214f9a..0144c0f 100644 --- a/mageiaSync/mageiasync.py +++ b/mageiaSync/mageiasync.py @@ -568,6 +568,7 @@ class IsosViewer(QMainWindow): 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.MatchFlag.MatchExactly, 1)[0] @@ -592,7 +593,9 @@ class IsosViewer(QMainWindow): if not str(path).endswith("/"): self.nameWithPath += "/" self.rsyncThread.setup( - self.nameWithPath, self.destination + "/" + path + "/", row + self.nameWithPath, self.destination + "/" + path + "/", + size, + row ) self.rsyncThread.start() # start the thread |