diff options
author | jgranado <jgranado> | 2007-10-30 17:19:46 +0000 |
---|---|---|
committer | jgranado <jgranado> | 2007-10-30 17:19:46 +0000 |
commit | 84761385ffac6aaaad006c291588bf8ccbccb4ba (patch) | |
tree | 4ad602fa4057cae7e51ff507a60f40916b1a020f /vnc.py | |
parent | 5b27847adbf2684326a38202e32ecbb36d57a28f (diff) | |
download | anaconda-84761385ffac6aaaad006c291588bf8ccbccb4ba.tar.gz anaconda-84761385ffac6aaaad006c291588bf8ccbccb4ba.tar.xz anaconda-84761385ffac6aaaad006c291588bf8ccbccb4ba.zip |
Fix the vncconnectport var in vnc.py.
Diffstat (limited to 'vnc.py')
-rw-r--r-- | vnc.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -32,7 +32,7 @@ class VncServer: def __init__(self, display="1", root="/", ip=None, name=None, desktop="Desktop", password="", vncconnecthost="", - vncconnecport="", log_file="/tmp/vncserver.log", + vncconnectport="", log_file="/tmp/vncserver.log", pw_file="/tmp/vncpassword", pw_init_file="/tmp/vncpassword.dat"): self.display = display self.root = root @@ -41,7 +41,7 @@ class VncServer: self.desktop = desktop self.password = password self.vncconnecthost = vncconnecthost - self.vncconnecport = vncconnecport + self.vncconnectport = vncconnectport self.log_file = log_file self.pw_file = pw_file self.pw_init_file = pw_init_file @@ -167,8 +167,8 @@ class VncServer: maxTries = 10 self.log.info(_("Attempting to connect to vnc client on host %s...") % (self.vncconnecthost,)) - if self.vncconnecport != "": - hostarg = self.vncconnecthost + ":" + self.vncconnecport + if self.vncconnectport != "": + hostarg = self.vncconnecthost + ":" + self.vncconnectport else: hostarg = self.vncconnecthost |