[Merge] pull request #536 from moonnejs/patch-1 修复数据清洗脚本bug

Update runDataCleaning.py
This commit is contained in:
vn.py 2017-10-10 17:40:11 +08:00 committed by GitHub
commit ec71183382

View File

@ -32,7 +32,7 @@ def cleanData(dbName, collectionName, start):
# 遍历数据
for data in cx:
# 获取时间戳对象
time = data['datetime'].time()
dt = data['datetime'].time()
# 默认需要清洗
cleanRequired = True
@ -81,4 +81,4 @@ def runDataCleaning():
if __name__ == '__main__':
runDataCleaning()
runDataCleaning()