Fix regression exiting without any arg

This commit is contained in:
didier
2021-03-15 19:56:56 +00:00
parent c4c34bf54f
commit fdb5dafb0c

View File

@@ -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("")