~ruther/qmk_firmware

9d4412cb8bf9512952118b190fedea72e33d28cb — QMK Bot 4 years ago 0412c92 + 7c2bd4d
Merge remote-tracking branch 'origin/master' into develop
1 files changed, 2 insertions(+), 1 deletions(-)

M lib/python/qmk/cli/__init__.py
M lib/python/qmk/cli/__init__.py => lib/python/qmk/cli/__init__.py +2 -1
@@ 22,6 22,7 @@ safe_commands = [
    # A list of subcommands we always run, even when the module imports fail
    'clone',
    'config',
    'doctor',
    'env',
    'setup',
]


@@ 190,7 191,7 @@ for subcommand in subcommands:
    try:
        __import__(subcommand)

    except ModuleNotFoundError as e:
    except (ImportError, ModuleNotFoundError) as e:
        if safe_command:
            print(f'Warning: Could not import {subcommand}: {e.__class__.__name__}, {e}')
        else: