fixes y calendario de google holidays desactivado
Signed-off-by: Omar Sánchez Pizarro <admin@pribyte.cloud>
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user