BOSWatch/plugin_test/plugins/template/__init__.py

12 lines
328 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 21:49:03 +02:00
logging.debug("template Plugin called")
try:
2015-05-18 15:27:50 +02:00
logging.info("ZVEI: %s wurde auf %s empfangen!", data["zvei"],freq)
except:
logging.exception("Error in Template Plugin")