aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2016-08-21 21:25:12 +0200
committerPapoteur <papoteur@mageialinux-online.org>2016-08-21 21:25:12 +0200
commit3e8faaee52e473cd4fe65f6674b800ed431aeeac (patch)
tree9b23dda89059ff66c8f0c957267bae46835869ff
parent39f0d84e9c117e94c6b01898c2d4a74c51c6cab3 (diff)
downloadisodumper-3e8faaee52e473cd4fe65f6674b800ed431aeeac.tar
isodumper-3e8faaee52e473cd4fe65f6674b800ed431aeeac.tar.gz
isodumper-3e8faaee52e473cd4fe65f6674b800ed431aeeac.tar.bz2
isodumper-3e8faaee52e473cd4fe65f6674b800ed431aeeac.tar.xz
isodumper-3e8faaee52e473cd4fe65f6674b800ed431aeeac.zip
Correction of a variable name.
-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