diff --git a/database_caller.py b/database_caller.py index c65dad6..5e7a953 100755 --- a/database_caller.py +++ b/database_caller.py @@ -920,9 +920,10 @@ def updateMarket(api_key, logf): pass try: for item in sectors: - all_sector_settings['data'][item['symbol']] = { + all_sector_settings['data'][item['name']] = { "current": str(item['performance'] * 100), "name": str(item['name']), + "symbol": str(item['symbol']) } except: pass