Skip to content

Commit

Permalink
Fix issue with fastcore and ruamel-yaml (#637)
Browse files Browse the repository at this point in the history
  • Loading branch information
parano committed May 7, 2020
1 parent c067b48 commit 123a890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bentoml/service_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ def add_channels(self, channels):
self._conda_env["channels"] += channels

def write_to_yaml_file(self, filepath):
output_yaml = Path(filepath)
self._yaml.dump(self._conda_env, output_yaml)
with open(filepath, 'wb') as output_yaml:
self._yaml.dump(self._conda_env, output_yaml)


class BentoServiceEnv(object):
Expand Down

0 comments on commit 123a890

Please sign in to comment.