changed formatting a bit for sector data
This commit is contained in:
parent
7838ac8f30
commit
4773141ad0
@ -920,9 +920,10 @@ def updateMarket(api_key, logf):
|
|||||||
pass
|
pass
|
||||||
try:
|
try:
|
||||||
for item in sectors:
|
for item in sectors:
|
||||||
all_sector_settings['data'][item['symbol']] = {
|
all_sector_settings['data'][item['name']] = {
|
||||||
"current": str(item['performance'] * 100),
|
"current": str(item['performance'] * 100),
|
||||||
"name": str(item['name']),
|
"name": str(item['name']),
|
||||||
|
"symbol": str(item['symbol'])
|
||||||
}
|
}
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user