aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2016-04-10 13:42:21 +0200
committerPapoteur <papoteur@mageialinux-online.org>2016-04-10 13:42:21 +0200
commit5685ef434da144f28b4abe9283282052a2a9a530 (patch)
treeff6a74a0a9c17177a5a1390894967dc912eec737 /lib
parent1a7e817bb0e07ec101d8a6011d1d2a8a6b5b4920 (diff)
downloadisodumper-5685ef434da144f28b4abe9283282052a2a9a530.tar
isodumper-5685ef434da144f28b4abe9283282052a2a9a530.tar.gz
isodumper-5685ef434da144f28b4abe9283282052a2a9a530.tar.bz2
isodumper-5685ef434da144f28b4abe9283282052a2a9a530.tar.xz
isodumper-5685ef434da144f28b4abe9283282052a2a9a530.zip
exclude void media
Diffstat (limited to 'lib')
-rw-r--r--lib/isodumper.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index 20c427b..9191931 100644
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -184,6 +184,7 @@ class IsoDumper(object):
self.devicelist.addItem("",False)
if len(self.list)>0:
for name, path, size in self.list:
+ if size != 0 :
# convert in Mbytes
sizeM=str(int(size)/(1024*1024))
self.devicelist.addItem(str(name+' ('+path.lstrip()+') '+sizeM+_('Mb')),False)