Suppression affichage terminus vers terminus

This commit is contained in:
tfa
2023-01-04 10:54:06 +01:00
parent 949607a96e
commit 5e5c81fd8b

2
tcl.py
View File

@@ -221,6 +221,8 @@ class Tcl(Plugin):
terms = line.get_all_terminus() terms = line.get_all_terminus()
for t in terms: for t in terms:
self.log.info(t.get_name()) self.log.info(t.get_name())
if t.get_name() == nomArret:
continue
respText += "***Direction " + t.get_name() + "***\n" respText += "***Direction " + t.get_name() + "***\n"
hs = t.get_horaires() hs = t.get_horaires()
hs.sort() hs.sort()