mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 18:51:06 -03:30
Use unicode project path when searching for playbooks. Fixes https://trello.com/c/yJGDluu1
This commit is contained in:
@@ -164,7 +164,7 @@ class ProjectOptions(models.Model):
|
||||
results = []
|
||||
project_path = self.get_project_path()
|
||||
if project_path:
|
||||
for dirpath, dirnames, filenames in os.walk(project_path):
|
||||
for dirpath, dirnames, filenames in os.walk(unicode(project_path)):
|
||||
for filename in filenames:
|
||||
if os.path.splitext(filename)[-1] not in ['.yml', '.yaml']:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user