mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 06:10:22 -07:00
Fix path encoding bug in config manager.
This commit is contained in:
parent
215b27eb10
commit
48bdb61870
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ def ensure_type(value, value_type, origin=None):
|
||||||
'''
|
'''
|
||||||
|
|
||||||
basedir = None
|
basedir = None
|
||||||
if origin and os.path.isabs(origin) and os.path.exists(origin):
|
if origin and os.path.isabs(origin) and os.path.exists(to_bytes(origin)):
|
||||||
basedir = origin
|
basedir = origin
|
||||||
|
|
||||||
if value_type:
|
if value_type:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue