From 7c6e11337a5b2c139ece5b83b3a66d77d43ecefb Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sat, 30 Dec 2023 11:01:59 -0500 Subject: [PATCH] remove unused vars --- scripts/mqtt.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/mqtt.py b/scripts/mqtt.py index 704dd130..d9caec17 100644 --- a/scripts/mqtt.py +++ b/scripts/mqtt.py @@ -1,3 +1,4 @@ +"""mqtt.py, sends yur privmsgs over mqtt""" import irssi import paho.mqtt.client as mqtt import threading @@ -47,11 +48,6 @@ def publish( ) client.on_connect = on_connect client.on_message = on_message - mqtt_server = irssi.settings_get_str(b"mqtt_server") - mqtt_port = irssi.settings_get_int(b"mqtt_port") - mqtt_topic = irssi.settings_get_str(b"mqtt_topic") - mqtt_pass = irssi.settings_get_str(b"mqtt_pass") - mqtt_retain = irssi.settings_get_bool(b"mqtt_retain") threading.Thread(target=work(client, content)).start()