Skip to content

Commit

Permalink
Formatting tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Gregg committed Jan 12, 2025
1 parent f906ef5 commit a6715a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/frigate_event_processor/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ def main():
receiver.connect_and_loop()

if __name__ == '__main__':
main()
main()
2 changes: 2 additions & 0 deletions src/frigate_event_processor/mqtt_event_receiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
logger = logging.getLogger(__name__)

class MqttEventReceiver:
"""A class that handles MQTT message reception, processing, and publishing."""

def __init__(self, config:AppConfig):
self.config = config
self.processor = FrigateEventProcessor(config, self.publish_message)
Expand Down

0 comments on commit a6715a5

Please sign in to comment.