mqtt-sensord/mqtt_sensord/mqttlib/__init__.py

9 lines
151 B
Python
Raw Normal View History

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