1
0
mirror of https://github.com/lutris/lutris synced 2024-07-05 16:38:42 +00:00

Remove quotes from 7zip destination

This commit is contained in:
Mathieu Comandon 2016-10-30 12:25:24 -07:00
parent 43418be298
commit 14cada77e0

View File

@ -115,7 +115,7 @@ def extract_7zip(path, dest, archive_type=None):
_7zip_path = system.find_executable('7z')
if not system.path_exists(_7zip_path):
raise OSError("7zip is not found in the lutris runtime or on the system")
command = [_7zip_path, 'x', path, '-o"{}"'.format(dest), '-aoa']
command = [_7zip_path, 'x', path, '-o{}'.format(dest), '-aoa']
if archive_type:
command.append('-t{}'.format(archive_type))
subprocess.call(command)