beremiz
Clone
Summary
Browse
Changes
Graph
Allow starting IDE without sslpsk module installed. Fail when connecting to PYROS if sslpsk unavailable.
2019-04-10, Edouard Tisserant
25f19b76c7b6
Allow starting IDE without sslpsk module installed. Fail when connecting to PYROS if sslpsk unavailable.
#!/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"]