diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-07-02 11:24:37 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-07-02 11:24:37 +0200 |
commit | ff76c03a5df77d8ad044da92da51dcfc2bb1c0a0 (patch) | |
tree | 184fc4de51028ee07637d72b9c136342d07307ad /src/plugins | |
parent | update dist (diff) | |
download | xpybar-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.py | 2 |
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 == '': |