From b68baf1d57e20555f583e77c6fcd7be494da700f Mon Sep 17 00:00:00 2001 From: Michael Nguyen Date: Tue, 1 Aug 2017 16:39:13 -0500 Subject: [PATCH] change LOGGER to logger --- mycroft/util/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mycroft/util/__init__.py b/mycroft/util/__init__.py index ce4061c927..8225127bf5 100644 --- a/mycroft/util/__init__.py +++ b/mycroft/util/__init__.py @@ -33,7 +33,7 @@ import mycroft.audio __author__ = 'jdorleans' -LOGGER = getLogger(__name__) +logger = getLogger(__name__) def resolve_resource_file(res_name): @@ -238,7 +238,7 @@ def is_speaking(): Returns: bool: True while still speaking """ - LOGGER.info("mycroft.utils.is_speaking() is depreciated, use " + logger.info("mycroft.utils.is_speaking() is depreciated, use " "mycroft.audio.is_speaking() instead.") return mycroft.audio.is_speaking() @@ -250,7 +250,7 @@ def wait_while_speaking(): briefly to ensure that any preceeding request to speak has time to begin. """ - LOGGER.info("mycroft.utils.wait_while_speaking() is depreciated, use " + logger.info("mycroft.utils.wait_while_speaking() is depreciated, use " "mycroft.audio.wait_while_speaking() instead.") return mycroft.audio.wait_while_speaking() @@ -258,6 +258,6 @@ def wait_while_speaking(): def stop_speaking(): # TODO: Less hacky approach to this once Audio Manager is implemented # Skills should only be able to stop speech they've initiated - LOGGER.info("mycroft.utils.stop_speaking() is depreciated, use " + logger.info("mycroft.utils.stop_speaking() is depreciated, use " "mycroft.audio.stop_speaking() instead.") mycroft.audio.stop_speaking()