Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/vnc.py
diff options
context:
space:
mode:
Diffstat (limited to 'vnc.py')
-rw-r--r--vnc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/vnc.py b/vnc.py
index 4478fb7..1a831b8 100644
--- a/vnc.py
+++ b/vnc.py
@@ -146,6 +146,8 @@ class VNCActivity(activity.Activity):
display = int(host[colon+1:])
except:
return # TODO
+ if hostname == "":
+ hostname = "127.0.0.1"
else:
hostname = host
display = 0