little change

This commit is contained in:
Schrolli 2015-05-18 14:56:01 +02:00
parent 5cddcf69d7
commit a7519386ad
3 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
*.psd
*.pyc
*.log
*.log

View file

@ -35,7 +35,7 @@ logger.addHandler(ch)
#critical - critical error, program exit
daten = ["12345"]
data = ["12345"]
while True:
time.sleep(1)
@ -43,4 +43,4 @@ while True:
for i in pluginloader.getPlugins():
logging.debug("Loading plugin " + i["name"])
plugin = pluginloader.loadPlugin(i)
plugin.run("zvei","00000000",daten)
plugin.run("zvei","80000000",data)

View file

@ -1,9 +1,9 @@
import logging
def run(typ,frequenz,daten):
def run(typ,freq,data):
logging.debug("Throw Template Plugin")
try:
logging.info("ZVEI: %s wurde empfangen!", daten[0])
logging.info("ZVEI: %s wurde auf %s empfangen!", data[0],freq)
logging.debug("try 5/0")
test = 5/0
except: