BOSWatch/plugin_test/plugins/template/__init__.py

10 lines
286 B
Python
Raw Normal View History

import logging
2015-05-18 14:56:01 +02:00
def run(typ,freq,data):
2015-05-18 15:32:06 +02:00
logging.debug("Strat Plugin: template")
try:
2015-05-18 15:27:50 +02:00
logging.info("ZVEI: %s wurde auf %s empfangen!", data["zvei"],freq)
logging.debug("try 5/0")
test = 5/0
except:
logging.exception("Error in Template Plugin")