diff options
author | Papoteur <papoteur@mageialinux-online.org> | 2016-04-10 13:42:21 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageialinux-online.org> | 2016-04-10 13:42:21 +0200 |
commit | 5685ef434da144f28b4abe9283282052a2a9a530 (patch) | |
tree | ff6a74a0a9c17177a5a1390894967dc912eec737 /lib | |
parent | 1a7e817bb0e07ec101d8a6011d1d2a8a6b5b4920 (diff) | |
download | isodumper-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.py | 1 |
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) |