argument list to dict

This commit is contained in:
Schrolli 2015-05-18 15:23:47 +02:00
parent a7519386ad
commit 70a45f8de7
4 changed files with 16 additions and 95 deletions

View file

@ -2,18 +2,18 @@
Typ = FMS, ZVEI oder POC
Frequenz = Frequenz in Hz
daten[] als Python List
daten[] als Python Dictionary
ZVEI:
- ZVEI code
- zvei
FMS:
- FMS Kennung
- Status
- Richtung
- TKI
- fms
- status
- direction
- tki
POCSAG:
- RIC
- Sub RIC
- Text
- ric
- sub_ric
- text

View file

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