BOSWatch/plugin_test/plugins/template/__init__.py
2015-05-18 21:49:03 +02:00

12 lines
328 B
Python

#!/usr/bin/python
# -*- coding: cp1252 -*-
import logging # Global logger
import globals # Global variables
def run(typ,freq,data):
logging.debug("template Plugin called")
try:
logging.info("ZVEI: %s wurde auf %s empfangen!", data["zvei"],freq)
except:
logging.exception("Error in Template Plugin")