This commit is contained in:
Danglewood
2023-07-21 21:42:40 -07:00
parent bd1c2a4a37
commit e5f5ca922c
2 changed files with 3 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ def display_defi_protocols(
@log_start_end(log=logger)
def display_historical_tvl(
dapps: str = "",
dapps: str,
export: Optional[str] = "",
sheet_name: Optional[str] = None,
external_axes: bool = False,
@@ -152,7 +152,7 @@ def display_historical_tvl(
fig.set_title("TVL in dApps")
available_protocols = read_data_file("defillama_dapps.json")
dapp: str = ""
if isinstance(available_protocols, dict):
for dapp in dapps.split(","):
if dapp in available_protocols:

View File

@@ -5,8 +5,8 @@ __docformat__ = "numpy"
import logging
import os
import pandas as pd
from typing import Optional, Union
import pandas as pd
from openbb_terminal import OpenBBFigure, theme
from openbb_terminal.cryptocurrency.nft import nftpricefloor_model