validate:launcher: Do not try to set DISPLAY envvar to None

This commit is contained in:
Thibault Saunier 2016-11-02 12:43:54 -03:00
parent 3dcaa36b81
commit d797f94692

View file

@ -58,7 +58,6 @@ class Xvfb(VirtualFrameBufferServer):
print("DISPLAY set to %s" % self.display_id) print("DISPLAY set to %s" % self.display_id)
return True return True
except subprocess.CalledProcessError: except subprocess.CalledProcessError:
os.environ["DISPLAY"] = cdisplay
pass pass
if time.time() - start > timeout: if time.time() - start > timeout: