diff options
author | Daniel Schadt <kingdread@gmx.de> | 2016-05-08 01:08:36 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2016-05-08 01:08:36 +0200 |
commit | dcb2c7f8681abd4df69ac71baebf010a655ab092 (patch) | |
tree | e0a1334c7c14816c0107e056aeb12ad7fe310fa1 /scripts/link_pyqt.py | |
parent | 95fa78fce378b1eb02c7eef7cd6aa460a267bce3 (diff) | |
download | qutebrowser-dcb2c7f8681abd4df69ac71baebf010a655ab092.tar.gz qutebrowser-dcb2c7f8681abd4df69ac71baebf010a655ab092.zip |
link_pyqt: fix crash with spaces in pypath
This fixes a bug where link_pyqt crashes when the path to the python
interpreter contains a space.
Diffstat (limited to 'scripts/link_pyqt.py')
-rw-r--r-- | scripts/link_pyqt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/link_pyqt.py b/scripts/link_pyqt.py index 92fbb84c9..b0f53f56c 100644 --- a/scripts/link_pyqt.py +++ b/scripts/link_pyqt.py @@ -191,7 +191,7 @@ def get_tox_syspython(tox_path): path = os.path.join(tox_path, '.tox-config1') with open(path, encoding='ascii') as f: line = f.readline() - _md5, sys_python = line.rstrip().split(' ') + _md5, sys_python = line.rstrip().split(' ', 1) return sys_python |