beremiz

MQTT: fix build error when publishing json topic.
py2compat
17 months ago, Edouard Tisserant
1e8869ed2d4c
MQTT: fix build error when publishing json topic.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# See COPYING.Runtime file for copyrights details.
LogLevels = ["CRITICAL", "WARNING", "INFO", "DEBUG"]
LogLevelsCount = len(LogLevels)
LogLevelsDict = dict(zip(LogLevels, range(LogLevelsCount)))
LogLevelsDefault = LogLevelsDict["DEBUG"]