From 4d69db18226b1cae646039fac6962ce6edfd5cbd Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 2 Aug 2020 11:20:17 +0800 Subject: [PATCH] bugfix --- ahserver/globalEnv.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ahserver/globalEnv.py b/ahserver/globalEnv.py index ff52df1..2c1537d 100644 --- a/ahserver/globalEnv.py +++ b/ahserver/globalEnv.py @@ -14,7 +14,7 @@ from tempfile import mktemp from appPublic.jsonConfig import getConfig from appPublic.Singleton import GlobalEnv from appPublic.argsConvert import ArgsConvert -from appPublic.timeUtils import str2Date,str2Datetime,curDatetime,getCurrentTimeStamp +from appPublic.timeUtils import str2Date,str2Datetime,curDatetime,getCurrentTimeStamp,curDateString, curTimeString from appPublic.folderUtils import folderInfo from appPublic.uniqueID import setNode,getID from appPublic.unicoding import unicoding,uDict,uObject @@ -136,6 +136,8 @@ def initEnv(): g.type = type g.ArgsConvert = ArgsConvert g.time = time + g.curDateString = curDateString + g.curTimeString = curTimeString g.datetime = datetime g.random = random g.str2date = str2Date