mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
bitwarden
This commit is contained in:
parent
ec3f4fc309
commit
4956f7d28b
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user