fixes y calendario de google holidays desactivado

Signed-off-by: Omar Sánchez Pizarro <admin@pribyte.cloud>
This commit is contained in:
2025-09-04 14:13:57 +02:00
parent e9ec438183
commit 8123de824e
5 changed files with 13 additions and 8 deletions

View File

@@ -75,8 +75,9 @@ class timenetManager:
calendar = google_calendar.GoogleCalendar()
calendar = calendar.getEvent()
if calendar:
if calendar and not args.force:
self.addMessage("🟥🕐 Comprobación de calendario: " + calendar)
self.sendReport()
return
typ = 0
@@ -129,7 +130,7 @@ class timenetManager:
try:
rj = json.loads(response.text)
except:
self.addMessage("La respuesta al hacer check no es correcta... algo ha pasado :/")
self.addMessage("La respuesta al hacer check no es correcta... algo ha pasado :/ - %s" % (response.text))
self.sendReport()
exit(20)