aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mageiaSync/mageiaSyncExt.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mageiaSync/mageiaSyncExt.py b/mageiaSync/mageiaSyncExt.py
index 55eac1e..610615f 100644
--- a/mageiaSync/mageiaSyncExt.py
+++ b/mageiaSync/mageiaSyncExt.py
@@ -126,8 +126,8 @@ class syncThread(QThread):
self.lvM.emit(self.tr("No entry selected"))
for iso in self.list:
# Check free space
- _, _, free = shutil.disk_usage(self.destination)
- if free <= iso("size"):
+ _, _, free = shutil.disk_usage( iso['destination'])
+ if free <= iso["size"]:
self.lvM.emit( self.tr("Space available {:.3f} Mb isn't enough ({:.3f} Mb needed)"). format(free/1024/1024, iso["size"]/1024/1024))
continue
errorOccured=True