diff --git a/blocksmurfer/main/routes.py b/blocksmurfer/main/routes.py index 7622a90..8d8b670 100644 --- a/blocksmurfer/main/routes.py +++ b/blocksmurfer/main/routes.py @@ -104,8 +104,8 @@ def providers_status(network='btc'): except Exception as e: err = str(e) request_time = time.time() - request_start_time - results = (blockcount, request_time, err, provider_item) - provider_stats.update({provider: results}) + results = (blockcount, request_time, err, provider) + provider_stats.update({provider_item: results}) return render_template('providers_status.html', title=_('Providers Status'), subtitle=_('Service providers current status'), diff --git a/blocksmurfer/templates/providers_status.html b/blocksmurfer/templates/providers_status.html index dc1ed36..5f7cce6 100644 --- a/blocksmurfer/templates/providers_status.html +++ b/blocksmurfer/templates/providers_status.html @@ -18,8 +18,8 @@