sort imports

This commit is contained in:
Blake Blackshear
2020-11-04 06:31:25 -06:00
parent 3a3cb24631
commit 03c855ecbe
13 changed files with 83 additions and 69 deletions

View File

@@ -1,7 +1,8 @@
import logging
import paho.mqtt.client as mqtt
import threading
import paho.mqtt.client as mqtt
from frigate.config import MqttConfig
logger = logging.getLogger(__name__)
@@ -28,4 +29,4 @@ def create_mqtt_client(config: MqttConfig):
client.username_pw_set(config.user, password=config.password)
client.connect(config.host, config.port, 60)
client.loop_start()
return client
return client