Skip to content

Commit

Permalink
fix(logger): fix init_logger not showing debug messages in certain co…
Browse files Browse the repository at this point in the history
…nditions as intended (#296)
  • Loading branch information
34j committed Apr 12, 2023
1 parent 3925649 commit d3ab7d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/so_vits_svc_fork/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def init_logger() -> None:
return

IN_COLAB = os.getenv("COLAB_RELEASE_TAG")
IS_TEST = "test" in Path(__file__).parent.stem
IS_TEST = "test" in Path.cwd().stem

basicConfig(
level=DEBUG if IS_TEST else INFO,
Expand Down

0 comments on commit d3ab7d6

Please sign in to comment.