Skip to content

Commit

Permalink
code correction on global path glob
Browse files Browse the repository at this point in the history
  • Loading branch information
sethjuarez committed Dec 13, 2024
1 parent d06dddc commit 951f44a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/prompty/prompty/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async def load_json_async(file_path, encoding='utf-8'):
return json.loads(content)

def _find_global_config(prompty_path: Path = Path.cwd()) -> Path:
prompty_config = list(Path.cwd().glob.glob("**/prompty.json"))
prompty_config = list(Path.cwd().glob("**/prompty.json"))

if len(prompty_config) > 0:
return sorted(
Expand Down

0 comments on commit 951f44a

Please sign in to comment.