Update main.py

stevens_api
Rachel Kim 2020-05-07 22:16:23 -04:00 committed by GitHub
parent 6c313b0b75
commit 3b32ae8291
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -37,7 +37,7 @@ def loadCCR(manager, loadFromTime, selectedYear):
def indexUpdates(manager, loadFromTime): def indexUpdates(manager, loadFromTime):
esIndexer = ESIndexer(manager, None) esIndexer = ESIndexer(manager, None)
# esIndexer.indexRecords(recType='cce') esIndexer.indexRecords(recType='cce')
esIndexer.indexRecords(recType='ccr') esIndexer.indexRecords(recType='ccr')
@ -80,10 +80,7 @@ if __name__ == '__main__':
from builder import CCEReader, CCEFile from builder import CCEReader, CCEFile
from renBuilder import CCRReader, CCRFile from renBuilder import CCRReader, CCRFile
from esIndexer import ESIndexer from esIndexer import ESIndexer
print(args.time)
print(args.year)
print(args.exclude)
print(args.REINITIALIZE)
main( main(
secondsAgo=args.time, secondsAgo=args.time,
year=args.year, year=args.year,