mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-28 12:13:11 +00:00
Fix regression exiting without any arg
This commit is contained in:
@@ -343,6 +343,8 @@ def regression(l_args, s_ticker, df_stock, polynomial):
|
||||
print_pretty_prediction(df_pred, df_stock["5. adjusted close"].values[-1])
|
||||
print("")
|
||||
|
||||
except SystemExit:
|
||||
print("")
|
||||
except Exception as e:
|
||||
print(e)
|
||||
print("")
|
||||
|
||||
Reference in New Issue
Block a user