BOSWatch/plugin_test/plugins/template/__init__.py

14 lines
380 B
Python
Raw Normal View History

#!/usr/bin/python
# -*- coding: cp1252 -*-
import logging # Global logger
import globals # Global variables
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")