mqtt-sensord/mqtt_sensord/mqttlib/__init__.py

9 lines
157 B
Python
Raw Normal View History

2019-07-09 22:01:39 +02:00
import sys
if sys.implementation.name == 'micropython':
from .esp import MQTTClient
2019-07-09 22:01:39 +02:00
else:
from .paho_mqtt import MQTTClient
__all__ = [MQTTClient]