BOSWatch/plugin_test/plugins/template/__init__.py
2015-05-19 09:36:35 +02:00

14 lines
316 B
Python

#!/usr/bin/python
# -*- coding: cp1252 -*-
import logging # Global logger
import globals # Global variables
def run(typ,freq,data):
try:
if typ == "ZVEI":
logging.info("ZVEI: %s wurde auf %s empfangen!", data["zvei"],freq)
else:
logging.warning(typ + " not implemented")
except:
logging.exception("")