mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-01-18 22:30:23 +01:00
little change
This commit is contained in:
parent
5cddcf69d7
commit
a7519386ad
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
|||
*.psd
|
||||
*.pyc
|
||||
*.log
|
||||
*.log
|
||||
|
|
@ -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)
|
||||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue