diff options
-rw-r--r-- | cli/openbb_cli/controllers/base_controller.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/openbb_cli/controllers/base_controller.py b/cli/openbb_cli/controllers/base_controller.py index e050311080d..e3c4a8ecfa0 100644 --- a/cli/openbb_cli/controllers/base_controller.py +++ b/cli/openbb_cli/controllers/base_controller.py @@ -4,6 +4,7 @@ import argparse import difflib import os import re +import shlex from abc import ABCMeta, abstractmethod from datetime import datetime from pathlib import Path @@ -240,7 +241,7 @@ class BaseController(metaclass=ABCMeta): else: try: (known_args, other_args) = self.parser.parse_known_args( - an_input.split() + shlex.split(an_input) ) except Exception as exc: raise SystemExit from exc |