From 5bcf147c20db49185d1d78d7879189c5905fb0d8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 10 Oct 2019 19:33:04 +0100 Subject: [PATCH] Debug --- webinterface.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index a0f187cb..f10d4308 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2775,10 +2775,12 @@ def htmlCalendar(translate: {}, \ actor=actor.split('?')[0] if year==1970 and monthNumber==1: - now = datetime.datetime.now() + now=datetime.datetime.now() year=now.year monthNumber=now.month + print('Calendar year='+str(year)+' month='+str(monthNumber)) + nickname=getNicknameFromActor(actor) domain,port=getDomainFromActor(actor)