Skip to content

Commit

Permalink
Fixed a fatal bug on the trigger_action.py line 40 as the logging ref…
Browse files Browse the repository at this point in the history
…erence was updated to LOGGER based on the import.
  • Loading branch information
dbrown99c committed Aug 27, 2024
1 parent 6901f74 commit 9892ca7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def new_packet_trigger(self, packet: FramePacket) -> None:
if self.trigger.condition(packet):
trigger_time = datetime.now()
if trigger_time - self.last_trigger_time > self.trigger.cooldown:
logging.debug(f'Triggered at {trigger_time}')
LOGGER.debug(f'Triggered at {trigger_time}')
self.last_trigger_time = trigger_time
self.action.activate()

Expand Down

0 comments on commit 9892ca7

Please sign in to comment.