Removes expanduser calls
The usage of type='path' includes the expanduser call itself. This patch removes its duplicate usage. Related to #12263pull/4420/head
parent
f95a11a9db
commit
888c8614fb
|
@ -155,7 +155,7 @@ def main():
|
|||
)
|
||||
|
||||
params = module.params
|
||||
path = os.path.expanduser(params['path'])
|
||||
path = params['path']
|
||||
res_args = dict()
|
||||
|
||||
if os.path.isdir(path):
|
||||
|
|
Loading…
Reference in New Issue