xend: vncconsole config option mustn't be a string

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
Keir Fraser committed 2008-08-05 13:45:25 +01:00
1 parent 95d4283bb4
commit ccecac2def
1 file changed
+1 -1
+1 -1
View File
@@ -114,7 +114,7 @@ class ImageHandler:
self.display = vmConfig['platform'].get('display')
self.xauthority = vmConfig['platform'].get('xauthority')
self.vncconsole = vmConfig['platform'].get('vncconsole')
self.vncconsole = int(vmConfig['platform'].get('vncconsole', 0))
self.dmargs = self.parseDeviceModelArgs(vmConfig)
self.pid = None
rtc_timeoffset = vmConfig['platform'].get('rtc_timeoffset')
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.