mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Removes usage of expanduser due to type 'path'
Removes the usage of the expanduser function because it is being performed automatically by the type 'path' of the path option.
This commit is contained in:
parent
8cc98b07c5
commit
f8cbfad5e6
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ def main():
|
|||
supports_check_mode = True
|
||||
)
|
||||
|
||||
path = os.path.expanduser(module.params['path'])
|
||||
path = module.params['path']
|
||||
section = module.params['section']
|
||||
option = module.params['option']
|
||||
value = module.params['value']
|
||||
|
|
Loading…
Reference in a new issue