Add quotes to 7zip destination argument

This commit is contained in:
Mathieu Comandon 2016-10-24 18:42:48 -07:00
parent 64e35aedcb
commit ef6ec9d617

View file

@ -115,4 +115,4 @@ def extract_7zip(path, dest):
_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")
subprocess.call([_7zip_path, 'x', path, '-o' + dest, '-aoa'])
subprocess.call([_7zip_path, 'x', path, '-o"{}"'.format(dest), '-aoa'])