##// END OF EJS Templates
filtro online para tomar datos solo del dia actual
Alexander Valdez -
r602:92234dd29577
parent child
Show More
@@ -122,7 +122,7 class matoffReader(ProcessingUnit):
122 # dirList= [dirList[-1]]
122 # dirList= [dirList[-1]]
123
123
124 if self.online:
124 if self.online:
125 currentdate = datetime.datetime.utcnow().date()
125 currentdate = datetime.datetime.now()
126 strsplit1=currentdate.strftime('%Y.%m.%d')
126 strsplit1=currentdate.strftime('%Y.%m.%d')
127 dirList = fnmatch.filter(dirList,strsplit1+'*')
127 dirList = fnmatch.filter(dirList,strsplit1+'*')
128
128
General Comments 0
You need to be logged in to leave comments. Login now