Python: wait for asset registry is loaded

Thank you again for your fast and great help!
Good to know that the editor ‘pauses’ in the background.