run the formatter once more

This commit is contained in:
Jakob Ketterl 2019-09-23 03:15:24 +02:00
parent 72f92a1c2b
commit ae87185ad0
5 changed files with 6 additions and 11 deletions

View File

@ -37,14 +37,9 @@ def decodeBase91(input):
base = decodeBase91(input[:-1]) * 91 if len(input) > 1 else 0
return base + (ord(input[-1]) - 33)
def getSymbolData(symbol, table):
return {
"symbol": symbol,
"table": table,
"index": ord(symbol) - 33,
"tableindex": ord(table) - 33,
}
def getSymbolData(symbol, table):
return {"symbol": symbol, "table": table, "index": ord(symbol) - 33, "tableindex": ord(table) - 33}
class Ax25Parser(object):
@ -578,5 +573,5 @@ class MicEParser(object):
"course": course,
"device": device,
"type": "Mic-E",
"symbol": getSymbolData(chr(information[7]), chr(information[8]))
"symbol": getSymbolData(chr(information[7]), chr(information[8])),
}

View File

@ -84,7 +84,6 @@ class YsfMetaEnricher(object):
class MetaParser(object):
def __init__(self, handler):
self.handler = handler
self.enrichers = {"DMR": DmrMetaEnricher(), "YSF": YsfMetaEnricher(self)}

View File

@ -1,5 +1,6 @@
import threading
class Metric(object):
def getValue(self):
return 0