Kamoulox 2.0 correction
This commit is contained in:
parent
0a0a83b90e
commit
81fa20ee12
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ class Mybot(commands.Cog):
|
||||||
|
|
||||||
def get_word(word_type):
|
def get_word(word_type):
|
||||||
content = []
|
content = []
|
||||||
with open("/home/mika/kabot/kabot/kabot/ressources/base_kml.xml", "r") as file:
|
with open("/home/mika/kabot/kabot/kabot/ressources/base_kml.xml", "r", "ISO-8859-1") as file:
|
||||||
content = file.readlines()
|
content = file.readlines()
|
||||||
content = "".join(content)
|
content = "".join(content)
|
||||||
bs_content = bs(content, 'lxml')
|
bs_content = bs(content, 'lxml')
|
||||||
|
|
Loading…
Reference in a new issue