From c5b6233b1bad8d375aeccaab108af26ecf825e09 Mon Sep 17 00:00:00 2001 From: pharr117 Date: Mon, 4 Sep 2023 16:24:31 -0400 Subject: [PATCH] pre-commit --- app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app.py b/app.py index 51cb4d4..307365f 100644 --- a/app.py +++ b/app.py @@ -287,7 +287,7 @@ def fetch_data_for_network(network, network_type, repo_path): chain_json_path = os.path.join(repo_path, 'testnets', network, 'chain.json') else: raise ValueError(f"Invalid network type: {network_type}") - + err_output_data = { "network": network, "error": "insufficient data in Cosmos chain registry, consider a PR to cosmos/chain-registry", @@ -378,7 +378,7 @@ def fetch_data_for_network(network, network_type, repo_path): #this is where the "no upgrades found block runs" rest_server_used = current_endpoint break - + # Calculate average block time current_block_time = get_block_time_rpc(rpc_server_used, latest_block_height) @@ -438,7 +438,7 @@ def update_data(): if os.path.isdir(os.path.join(repo_path, d)) and not d.startswith(('.', '_')) and d != "testnets"] - + if len(CHAIN_WATCH) != 0: mainnet_networks = [d for d in mainnet_networks if d in CHAIN_WATCH]