From 14ad75ed202f56daf715f28b84c808279c43e106 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sun, 21 Aug 2016 20:33:37 +0200 Subject: Add /dev/ prefix to the device name --- lib/isodumper.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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) -- cgit v1.2.1