aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/isodumper.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index a18995c..5f2faeb 100644
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -131,10 +131,10 @@ class UDisks2(object):
re_drive = re.compile('(?P<path>.*?/drives/(?P<id>.*))')
re_block = re.compile('(?P<path>.*?/block_devices/(?P<id>.*))')
devs= [m.groupdict() for m in
- [re_drive.match(path) for path in objects.keys()]
+ [re_drive.match(path) for path in list(objects.keys())]
if m]
blocks = [m.groupdict() for m in
- [re_block.match(path) for path in objects.keys()]
+ [re_block.match(path) for path in list(objects.keys())]
if m]
list=[]
@@ -545,7 +545,7 @@ class IsoDumper(object):
logfile.write(self.logview.logText())
logfile.close()
- print(self.logview.logText())
+ print((self.logview.logText()))
def logger(self, text):
self.logview.appendLines(text+"\n")