removed unnecessary regex escape
This commit is contained in:
parent
10c4de4f52
commit
ccae0fe238
2 changed files with 2 additions and 2 deletions
|
@ -118,7 +118,7 @@ class KagiSkill(FallbackSkill):
|
|||
|
||||
def clean_api_string(self, text):
|
||||
text = text.replace('*', '').replace('_', '')
|
||||
text = re.sub(r'\【\d+】', '', text)
|
||||
text = re.sub(r'【\d+】', '', text)
|
||||
return text
|
||||
|
||||
def get_api_response(self, json_data):
|
||||
|
|
2
setup.py
2
setup.py
|
@ -4,7 +4,7 @@ import os
|
|||
from os import walk, path
|
||||
|
||||
PYPI_NAME = "skill-ovos-fallback-kagi" # pip install PYPI_NAME
|
||||
VERSION = "0.1.6"
|
||||
VERSION = "0.1.7"
|
||||
URL = f"https://code.sitosis.com/rudism/{PYPI_NAME}"
|
||||
SKILL_CLAZZ = "KagiSkill" # needs to match __init__.py class name
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue