mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-09 02:42:36 +00:00
Remove unnecessary else after return
This commit is contained in:
@@ -293,8 +293,7 @@ def print_pretty_prediction(df_pred: pd.DataFrame, last_price: float):
|
||||
def check_ohlc(type_ohlc: str) -> str:
|
||||
if bool(re.match("^[ohlca]+$", type_ohlc)):
|
||||
return type_ohlc
|
||||
else:
|
||||
raise argparse.ArgumentTypeError("The type specified is not recognized")
|
||||
raise argparse.ArgumentTypeError("The type specified is not recognized")
|
||||
|
||||
|
||||
def lett_to_num(word: str) -> str:
|
||||
|
||||
Reference in New Issue
Block a user