Queer European MD passionate about IT
瀏覽代碼

Accent in CicloPi station description

Davte 5 年之前
父節點
當前提交
a8d3546c03
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 1 1
      ciclopibot/__init__.py
  2. 3 0
      ciclopibot/ciclopi.py

+ 1 - 1
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"

+ 3 - 0
ciclopibot/ciclopi.py

@@ -530,6 +530,9 @@ def _get_stations(data, location):
             ).text.replace(
                 'a`',
                 'à'
+            ).replace(
+                'e`',
+                'è'
             )
         )
         bikes_text = _station.find(