diff options
author | Papoteur <papoteur@mageialinux-online.org> | 2016-08-21 20:33:37 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageialinux-online.org> | 2016-08-21 20:33:37 +0200 |
commit | 14ad75ed202f56daf715f28b84c808279c43e106 (patch) | |
tree | 6e9872e90770b7005ade686f4a528a94a98440f7 | |
parent | 15abc1864c5065cb9b65fe5c20d74be12c40c171 (diff) | |
download | isodumper-14ad75ed202f56daf715f28b84c808279c43e106.tar isodumper-14ad75ed202f56daf715f28b84c808279c43e106.tar.gz isodumper-14ad75ed202f56daf715f28b84c808279c43e106.tar.bz2 isodumper-14ad75ed202f56daf715f28b84c808279c43e106.tar.xz isodumper-14ad75ed202f56daf715f28b84c808279c43e106.zip |
Add /dev/ prefix to the device name
-rwxr-xr-x | lib/isodumper.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py index 6a203f7..63f567e 100755 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -100,6 +100,7 @@ class UDisks2(object): if dev['path'] == objects[block['path']][BLOCK]['Drive']: dev_name = block['path'].split('/')[-1] path = ''.join([i for i in dev_name if not i.isdigit()]) + path = '/dev/' + path break size = dev_obj['Size'] item.append(vend+" "+name) |