Skip to content

Commit

Permalink
Update deprecation log in layers.py to prevent log at ovos_utils import
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Apr 11, 2023
1 parent 49af4b4 commit 7cd526b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ovos_utils/intents/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
from ovos_utils.log import LOG
from time import sleep

LOG.error(f"This module is deprecated, import from `ovos_workshop.skills.layers")


class IntentLayers:
def __init__(self, bus=None, layers=None):
# TODO: Deprecate in 0.1.0
LOG.error(f"This module is deprecated, import from `ovos_workshop.skills.layers")
layers = layers or []
self.bus = bus or get_mycroft_bus()
# make intent levels for N layers
Expand Down

0 comments on commit 7cd526b

Please sign in to comment.