Skip to content

Commit

Permalink
Import get_hacs_logger instead of getLogger (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Dec 27, 2021
1 parent 2333bd3 commit 27802db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helpers/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from custom_components.hacs.base import HacsBase
from custom_components.hacs.const import HACS_ACTION_GITHUB_API_HEADERS
from custom_components.hacs.exceptions import HacsException
from custom_components.hacs.utils.logger import getLogger
from custom_components.hacs.utils.logger import get_hacs_logger
from custom_components.hacs.validate.manager import ValidationManager

TOKEN = os.getenv("INPUT_GITHUB_TOKEN")
Expand All @@ -34,7 +34,7 @@
"theme",
]

logger = getLogger("action")
logger = get_hacs_logger()


def error(error: str):
Expand Down

0 comments on commit 27802db

Please sign in to comment.