This commit is contained in:
aozhiwei 2018-11-22 16:10:27 +08:00
parent 3dca880d47
commit aac5cb1e0a

View File

@ -12,8 +12,9 @@ log_dict = json.loads(open('dict.json', 'r').read())
def getFiles(path):
files = []
for f in os.listdir(path):
if os.path.isfile(path + '/' + f) and f.find('upload_prod-bj') >= 0:
files.append(f)
# if os.path.isfile(path + '/' + f) and f.find('log_') >= 0:
# files.append(f)
return files
def convertOldEvent(oldJson):