Merge pull request #139 from mokaddem/indexer_register_fix

Fixed bug: No CR between indexes in all_index.txt file
pull/142/merge
Alexandre Dulaunoy 2017-08-24 17:07:21 +02:00 committed by GitHub
commit a25fc828e3
1 changed files with 1 additions and 1 deletions

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)