Kamoulox 2.0 correction

This commit is contained in:
BFlow 2020-04-10 17:02:34 +02:00
parent 9f4106a5b5
commit f0f182560f
3 changed files with 19 additions and 19 deletions

View file

@ -230,7 +230,7 @@ class Mybot(commands.Cog):
def get_word(word_type):
content = []
with open("base_kml.xml", "r") as file:
with open("/home/mika/kabot/kabot/kabot/ressources/base_kml.xml", "r") as file:
content = file.readlines()
content = "".join(content)
bs_content = bs(content, 'lxml')