beremiz
Clone
Summary
Browse
Changes
Graph
MQTT: strip unsupported types from type choice dropdown, better wrong type detection in build.
20 months ago, Edouard Tisserant
dee0efbf8452
MQTT: strip unsupported types from type choice dropdown, better wrong type detection in build.
#!/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"]