MCPcopy Create free account
hub / github.com/domoticz/domoticz / EvaluatePython

Method EvaluatePython

main/EventSystem.cpp:2732–2738  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2730}
2731
2732void CEventSystem::EvaluatePython(const _tEventQueue &item, const std::string &filename, const std::string &PyString)
2733{
2734 Plugins::PythonEventsProcessPython(m_szReason[item.reason], filename, PyString, item.id, m_devicestates, m_uservariables, getSunRiseSunSetMinutes("Sunrise"),
2735 getSunRiseSunSetMinutes("Sunset"));
2736
2737 //Py_Finalize();
2738}
2739
2740#endif // ENABLE_PYTHON
2741

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected