Fichier d'arrêt en chemin relatif

This commit is contained in:
tfa
2022-12-19 14:17:18 +01:00
parent 96786dc28c
commit 0e7800ab7d

2
tcl.py
View File

@@ -128,7 +128,7 @@ class Tcl(Plugin):
""" """
) )
return return
with open("/home/tfa/maubot/tcl/tcl_sytral.tclarret.json") as file: with open("./tcl/tcl_sytral.tclarret.json") as file:
objet = json.load(file) objet = json.load(file)
values = objet["values"] values = objet["values"]
arrets = [] arrets = []