aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-07-02 11:24:37 +0200
committerMattias Andrée <maandree@operamail.com>2014-07-02 11:24:37 +0200
commitff76c03a5df77d8ad044da92da51dcfc2bb1c0a0 (patch)
tree184fc4de51028ee07637d72b9c136342d07307ad /src/plugins
parentupdate dist (diff)
downloadxpybar-ff76c03a5df77d8ad044da92da51dcfc2bb1c0a0.tar.gz
xpybar-ff76c03a5df77d8ad044da92da51dcfc2bb1c0a0.tar.bz2
xpybar-ff76c03a5df77d8ad044da92da51dcfc2bb1c0a0.tar.xz
cleanup
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/xdisplay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/xdisplay.py b/src/plugins/xdisplay.py
index 6f4bf7e..40a57e8 100644
--- a/src/plugins/xdisplay.py
+++ b/src/plugins/xdisplay.py
@@ -50,7 +50,7 @@ class XDisplay:
self.display = None
self.screen = None
else:
- self.host = self.connection.split(':')[:-1]
+ self.host = ':'.join(self.connection.split(':')[:-1])
if self.host.startswith('[') and self.host.endswith(']'):
self.host = self.host[1 : -1]
if self.host == '':