From a8d3546c038340050c6a970191c0709805056365 Mon Sep 17 00:00:00 2001 From: Davte Date: Tue, 23 Jul 2019 10:46:29 +0200 Subject: [PATCH] Accent in CicloPi station description --- ciclopibot/__init__.py | 2 +- ciclopibot/ciclopi.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ciclopibot/__init__.py b/ciclopibot/__init__.py index a1be30d..20e5e8b 100644 --- a/ciclopibot/__init__.py +++ b/ciclopibot/__init__.py @@ -3,6 +3,6 @@ __author__ = "Davide Testa" __email__ = "davide@davte.it" __license__ = "GNU General Public License v3.0" -__version__ = "1.0.12" +__version__ = "1.0.13" __maintainer__ = "Davide Testa" __contact__ = "t.me/davte" diff --git a/ciclopibot/ciclopi.py b/ciclopibot/ciclopi.py index 2dc9de1..d789a2d 100644 --- a/ciclopibot/ciclopi.py +++ b/ciclopibot/ciclopi.py @@ -530,6 +530,9 @@ def _get_stations(data, location): ).text.replace( 'a`', 'à' + ).replace( + 'e`', + 'è' ) ) bikes_text = _station.find(