bitwarden

This commit is contained in:
jaydee 2024-06-08 23:21:58 +02:00
parent ec3f4fc309
commit 4956f7d28b

View File

@ -1,10 +1,11 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from asyncio.log import logger from asyncio.log import logger
import paho.mqtt
import paho.mqtt.client as mqtt import paho.mqtt.client as mqtt
try: if paho.mqtt.__version__[0] > '1':
client = mqtt.Client(mqtt.CallbackAPIVersion.VERSION1) client = mqtt.Client(mqtt.CallbackAPIVersion.VERSION1)
except: else:
client = mqtt.Client() client = mqtt.Client()
from getmac import get_mac_address from getmac import get_mac_address