Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Open recipe file in binary format (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhirschfeld authored Jun 25, 2023
1 parent 46df7e4 commit 894e05c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa/core/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def default_jinja_vars(config):
def render(recipe_path, config=None, is_pyproject_recipe=False):
# console.print(f"\n[yellow]Rendering {recipe_path}[/yellow]\n")
# step 1: parse YAML
with open(recipe_path, "r") as fi:
with open(recipe_path, "rb") as fi:
if is_pyproject_recipe:
try: # Python >=3.11
import tomllib
Expand Down

0 comments on commit 894e05c

Please sign in to comment.