diff --git a/database_caller.py b/database_caller.py index a2c4472..23817b4 100755 --- a/database_caller.py +++ b/database_caller.py @@ -643,7 +643,7 @@ def updateCrypto(api_key, logf): if symbol.upper() + ',' + base.upper() == sb: - coin_info[symbol.upper() + ',' + base.upper()] = {'current': d['price'], '24hr_change': d['price_over_24hr'], 'percent_change': d['percent_over_24hr'], 'volume': human_format(d['volume']), 'day_low': d['day_low'], 'day_high': d['day_high']} + coin_info[symbol.upper() + ',' + base.upper()] = {'current': d['price'], '24hr_change': d['price_over_24hr'], 'percent_change': d['percent_over_24hr'], 'volume': human_format(d['volume']), 'day_low': d['day_low'], 'day_high': d['day_high'], 'name': d['name']} all_crypto_settings['symbols'] = coin_info with open('csv/crypto_settings.json', 'w+') as f: