Skip to content

Commit

Permalink
fix(sdk): incorrect bento_path if not provided (#4514)
Browse files Browse the repository at this point in the history
  • Loading branch information
bojiang committed Feb 20, 2024
1 parent 89adfb2 commit da08bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_bentoml_impl/loader.py
Expand Up @@ -106,7 +106,7 @@ def import_service(
from _bentoml_sdk import Service

if bento_path is None:
bento_path = pathlib.Path(".")
bento_path = pathlib.Path(".").absolute()

# patch python path if needed
if bento_path != pathlib.Path("."):
Expand Down

0 comments on commit da08bfa

Please sign in to comment.