first iteration of background services

This commit is contained in:
Jakob Ketterl
2019-07-21 23:39:11 +02:00
parent 2d6b0f1877
commit 9c927d9001
4 changed files with 122 additions and 2 deletions

View File

@ -54,5 +54,5 @@ class Bandplan(object):
def findBand(self, freq):
return next(band for band in self.bands if band.inBand(freq))
def collectDialFrequencis(self, range):
def collectDialFrequencies(self, range):
return [e for b in self.bands for e in b.getDialFrequencies(range)]