From 1b8c092ae3a4257ee28a16bd7ca558587b7bd638 Mon Sep 17 00:00:00 2001 From: ZyX Date: Sun, 3 Aug 2014 13:13:49 +0400 Subject: [PATCH] Make dividers unicode Fixes travis problem with old vim --- powerline/theme.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/powerline/theme.py b/powerline/theme.py index 2d382d64..25fa7e45 100644 --- a/powerline/theme.py +++ b/powerline/theme.py @@ -32,6 +32,11 @@ class Theme(object): run_once=False, shutdown_event=None): self.dividers = theme_config.get('dividers', common_config['dividers']) + self.dividers = dict(( + (key, dict((k, u(v)) + for k, v in val.items())) + for key, val in self.dividers.items() + )) self.spaces = theme_config.get('spaces', common_config['spaces']) self.segments = [] self.EMPTY_SEGMENT = {