Patch the install & which commands

This commit is contained in:
Valentin Niess
2020-09-21 10:02:29 +02:00
parent 3ce194736f
commit 67d5b75751

View File

@@ -89,8 +89,10 @@ def main():
# Call the requested command
module = '.commands.' + args.command
if args.sub_command:
try:
module += '.' + args.sub_command
except AttributeError:
pass
command = import_module(module, package=__package__)
# check if the module has a 'execute' subcommand