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