Differential D24654 Diff 75589 sysutils/py-mqttwarn/files/patch-examples_warntoggle_mqttwarn_customfunctions.py
Changeset View
Changeset View
Standalone View
Standalone View
sysutils/py-mqttwarn/files/patch-examples_warntoggle_mqttwarn_customfunctions.py
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- examples/warntoggle/mqttwarn/customfunctions.py.orig 2020-04-30 16:00:58 UTC | |||||
+++ examples/warntoggle/mqttwarn/customfunctions.py | |||||
@@ -14,7 +14,7 @@ def togglestate(topic, payload, section, srv): | |||||
if topic in toggles: | |||||
# file found, topic found | |||||
topicblock = toggles[topic] | |||||
- srv.logging.debug('togglestate() was called from the ' + section + ' section and found ' + topic + ' in ' + filename) | |||||
+ srv.logging.debug('togglestate() was called from the ' + section + ' section and found ' + topic + ' in ' + filename) | |||||
else: | |||||
# file found, adding new topic | |||||
toggles[topic] = default_topicblock |