run black

This commit is contained in:
Jakob Ketterl
2019-11-23 01:12:21 +01:00
parent 91669a7fda
commit 9246500c95
7 changed files with 72 additions and 34 deletions

View File

@ -69,13 +69,7 @@ class PskReporter(object):
def spotEquals(self, s1, s2):
keys = ["callsign", "timestamp", "locator", "mode", "msg"]
return reduce(
and_,
map(
lambda key: s1[key] == s2[key],
keys
)
)
return reduce(and_, map(lambda key: s1[key] == s2[key], keys))
def spot(self, spot):
if not spot["mode"] in PskReporter.supportedModes: