aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--machammer/functions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/machammer/functions.py b/machammer/functions.py
index 326918d..2bcde3f 100644
--- a/machammer/functions.py
+++ b/machammer/functions.py
@@ -153,9 +153,9 @@ def mount_image(path, mp=None, *args):
raise Exception('Invalid path: %s' % path)
mp = mp or tempfile.mkdtemp()
- p = subprocess.Popen(['/usr/bin/hdiutil', 'mount',
+ p = subprocess.Popen(('/usr/bin/hdiutil', 'mount',
'-mountpoint', mp,
- '-nobrowse', path, *args],
+ '-nobrowse', path) + args,
stdout=subprocess.PIPE,
stdin=subprocess.PIPE,
stderr=subprocess.PIPE)