From 4ebce517ccb14370adfc9c5aacb3858b9002807d Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Thu, 7 Sep 2017 16:16:35 +0200 Subject: [PATCH] [modules/currency] Use unicode strings see #169 --- bumblebee/modules/currency.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bumblebee/modules/currency.py b/bumblebee/modules/currency.py index 30aace1..580c91d 100644 --- a/bumblebee/modules/currency.py +++ b/bumblebee/modules/currency.py @@ -41,10 +41,10 @@ class Module(bumblebee.engine.Module): gbpeur = "-" gbpusd = "-" - self._price = "£/€ " + gbpeur + " | £/$ " + gbpusd + self._price = u"£/€ " + gbpeur + u" | £/$ " + gbpusd self._valid = True except RequestException: - self._price = "£/€ - | £/$ -" + self._price = u"£/€ - | £/$ -" self._valid = True # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4