1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-15 12:59:06 +00:00

Fixes replace errors. Fixes #284.

This commit is contained in:
Jeremy 2015-07-27 15:31:42 -06:00
parent 2ed0ef770e
commit 1419b7c8dc

View File

@ -483,9 +483,9 @@ class QemuVM(BaseVM):
if not sys.platform.startswith("linux"):
if "-no-kvm" in options:
options = options.replace("-no-kvm")
options = options.replace("-no-kvm", "")
if "-enable-kvm" in options:
options = options.replace("-enable-kvm")
options = options.replace("-enable-kvm", "")
self._options = options.strip()
@property