mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 04:52:07 +00:00
#124 Remove -t flag requirement from load command
This commit is contained in:
@@ -56,6 +56,11 @@ def load(l_args, s_ticker, s_start, s_interval, df_stock):
|
||||
)
|
||||
|
||||
try:
|
||||
# For the case where a user uses: 'load BB'
|
||||
if l_args:
|
||||
if "-" not in l_args[0]:
|
||||
l_args.insert(0, "-t")
|
||||
|
||||
ns_parser = parse_known_args_and_warn(parser, l_args)
|
||||
|
||||
except SystemExit:
|
||||
|
||||
Reference in New Issue
Block a user