mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-25 07:56:38 +00:00
Fix path encoding bug in config manager.
This commit is contained in:
@@ -77,7 +77,7 @@ def ensure_type(value, value_type, origin=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
|
||||
|
||||
if value_type:
|
||||
|
||||
Reference in New Issue
Block a user