Index not created

I am uploading my index with Python.
No error is reported, but the index does not seem to be created as seen with the dashboard.
Am I doing something wrong

print (‘Start uploading ./’+basename+’-chunk.json to Algolia’)
client = algoliasearch.Client(“GMGUNOIT8M”, ‘d3a0bbexxxxxxxxxxx4f3b8d26’)
index = client.init_index(basename)

index = client.init_index(“contact”)
batch = json.load(open(’./’+basename+’-chunk.json’))
index.add_objects(batch)
print (‘Finished uploading to Algolia’)

Execution trace is

Start uploading ./Grimaldi700-chunk.json to Algolia
Finished uploading to Algolia
—Done—

Thanks for your help
Henri

ooups!!! my problem (client.init.-index wrongly replicated!!)

Cheers,
Henri