aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlib/isodumper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index 4fae067..1063d43 100755
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -77,7 +77,7 @@ class UDisks2(object):
vend = dev_obj['Vendor']
name = dev_obj['Model']
for block in blocks:
- if dev['path'] == objects[block['path']][BLOCK]['Drive']:
+ if dev['path'] == objects[block['path']][self.BLOCK ]['Drive']:
dev_name = block['path'].split('/')[-1]
path = ''.join([i for i in dev_name if not i.isdigit()])
path = '/dev/' + path