Fix output path option
@@ -66,12 +66,12 @@ class QtInstaller:
print("-Extracting {}...".format(archive))
if platform.system() == 'Windows':
if path is not None:
- run([r'C:\Program Files\7-Zip\7z.exe', 'x', '-aoa', '-y', '-o', path, archive])
+ run([r'C:\Program Files\7-Zip\7z.exe', 'x', '-aoa', '-y', '-o{}'.format(path), archive])
else:
run([r'C:\Program Files\7-Zip\7z.exe', 'x', '-aoa', '-y', archive])
else:
if path is not None:
- run([r'7zr', 'x', '-aoa', '-y', '-o', path, archive])
+ run([r'7zr', 'x', '-aoa', '-y', '-o{}'.format(path), archive])
else:
run([r'7zr', 'x', '-aoa', '-y', archive])
os.unlink(archive)
