Merge pull request #139 from mokaddem/indexer_register_fix

Fixed bug: No CR between indexes in all_index.txt file
This commit is contained in:
Alexandre Dulaunoy 2017-08-24 17:07:21 +02:00 committed by GitHub
commit a25fc828e3

View file

@ -119,7 +119,7 @@ if __name__ == "__main__":
indexname = str(timestamp)
#update all_index
with open(indexRegister_path, "a") as f:
f.write(str(timestamp))
f.write('\n'+str(timestamp))
#create new dir
os.mkdir(indexpath)
ix = create_in(indexpath, schema)