beremiz

MQTT: fix invocation of json_scanf (use pointers, not values...)
py2compat
21 months ago, Edouard Tisserant
323e95cc08fe
MQTT: fix invocation of json_scanf (use pointers, not values...)
#!/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"]