beremiz
Clone
Summary
Browse
Changes
Graph
SVGHMI: fix websocket command unpacking for target that doesn't support missaligned int32 dereferencing
py2compat
12 months ago, Edouard Tisserant
c2c4c7db3036
SVGHMI: fix websocket command unpacking for target that doesn't support missaligned int32 dereferencing
#!/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"]