[X2Go-Commits] [x2gobroker] 01/01: uccs frontend: Convert datetime.datetime object to string before answering the http request with it.

git-admin at x2go.org git-admin at x2go.org
Mon Apr 16 15:58:36 CEST 2018


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gobroker.

commit e2140018eb0ec3f81ea530a84d67a0ba65c15cdd
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Apr 16 15:58:30 2018 +0200

    uccs frontend: Convert datetime.datetime object to string before answering the http request with it.
---
 x2gobroker/web/uccs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x2gobroker/web/uccs.py b/x2gobroker/web/uccs.py
index bad8307..86f9b32 100644
--- a/x2gobroker/web/uccs.py
+++ b/x2gobroker/web/uccs.py
@@ -60,7 +60,7 @@ class X2GoBrokerWeb(_RequestHandler):
         raise tornado.web.HTTPError(405)
 
     def head(self, path):
-        self.write(datetime.datetime.utcnow())
+        self.write(str(datetime.datetime.utcnow()))
         return
 
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git


More information about the x2go-commits mailing list