Fix variable typo.

This commit is contained in:
Cole Robinson 2008-10-20 16:28:27 -04:00
parent f59c5422f5
commit fa0f7513cc

View File

@ -430,7 +430,7 @@ class vmmManager(gobject.GObject):
(gtype, host, port, transport, username) = vm.get_graphics_console()
if gtype == "vnc":
self.emit("action-show-console", uri, vmuuid)
elif not connect.is_remote():
elif not connection.is_remote():
self.emit("action-show-terminal", uri, vmuuid)
else:
self.emit("action-refresh-console", uri, vmuuid)