mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-01 09:12:09 +00:00
commit
0f61b36bff
@ -165,6 +165,8 @@ class AdHocRunner:
|
||||
)
|
||||
|
||||
def clean_args(self, module, args):
|
||||
if not args:
|
||||
return ''
|
||||
if module not in self.command_modules_choices:
|
||||
return args
|
||||
if isinstance(args, str):
|
||||
|
Loading…
Reference in New Issue
Block a user