mirror of
https://github.com/niess/python-appimage.git
synced 2026-03-14 04:10:15 +01:00
Patch the install & which commands
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user