From ff76c03a5df77d8ad044da92da51dcfc2bb1c0a0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 2 Jul 2014 11:24:37 +0200 Subject: cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/plugins/xdisplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 == '': -- cgit v1.2.3-70-g09d2