restore js8 functionality

This commit is contained in:
Jakob Ketterl
2021-09-06 22:50:57 +02:00
parent 6014ce8921
commit f9f0bdde12
8 changed files with 45 additions and 78 deletions

View File

@@ -5,7 +5,6 @@ from datetime import datetime, timedelta
import logging
import threading
from owrx.map import Map, LatLngLocation
from owrx.parser import Parser
from owrx.aprs import AprsParser, AprsLocation
from abc import ABC, abstractmethod
@@ -159,9 +158,9 @@ class DStarEnricher(Enricher):
return meta
class MetaParser(Parser):
class MetaParser:
def __init__(self, handler):
super().__init__(handler)
self.handler = handler
self.enrichers = {
"DMR": RadioIDEnricher("dmr", self),
"YSF": YsfMetaEnricher(self),