mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-23 06:37:15 +00:00
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:
commit
a25fc828e3
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ if __name__ == "__main__":
|
||||||
indexname = str(timestamp)
|
indexname = str(timestamp)
|
||||||
#update all_index
|
#update all_index
|
||||||
with open(indexRegister_path, "a") as f:
|
with open(indexRegister_path, "a") as f:
|
||||||
f.write(str(timestamp))
|
f.write('\n'+str(timestamp))
|
||||||
#create new dir
|
#create new dir
|
||||||
os.mkdir(indexpath)
|
os.mkdir(indexpath)
|
||||||
ix = create_in(indexpath, schema)
|
ix = create_in(indexpath, schema)
|
||||||
|
|
Loading…
Reference in a new issue