beremiz
Clone
Summary
Browse
Changes
Graph
SVGHMI: add support for user JS script added in inkscape's document properties / scripting / embedded scripts.
2022-07-14, Edouard Tisserant
a8b6d5e1fda3
SVGHMI: add support for user JS script added in inkscape's document properties / scripting / embedded scripts.
#!/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"]