From c483c19bae20526630450f76fcf8eb40071591ee Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 12 Dec 2019 20:43:20 +0000 Subject: [PATCH] Single datetime --- webinterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index 1f00ad8e..7a6f38cd 100644 --- a/webinterface.py +++ b/webinterface.py @@ -3747,7 +3747,7 @@ def htmlCalendar(translate: {}, \ def htmlHashTagCloud(baseDir: str,path: str) -> str: """Returns a tag cloud of today's hashtags """ - daysSinceEpoch=str((datetime.datetime.utcnow() - datetime.datetime(1970,1,1)).days)+' ' + daysSinceEpoch=str((datetime.utcnow() - datetime(1970,1,1)).days)+' ' nickname=getNicknameFromActor(path) tagCloud=[] for subdir, dirs, files in os.walk(baseDir+'/tags'):