BOSWatch/plugin_test/plugins/template/__init__.py

10 lines
274 B
Python
Raw Normal View History

import logging
2015-05-18 14:49:10 +02:00
def run(typ,frequenz,daten):
logging.debug("Throw Template Plugin")
try:
2015-05-18 14:49:10 +02:00
logging.info("ZVEI: %s wurde empfangen!", daten[0])
logging.debug("try 5/0")
test = 5/0
except:
logging.exception("Error in Template Plugin")