mirror of
https://github.com/projecthorus/sondehub-infra.git
synced 2025-04-08 03:24:13 +00:00
Merge pull request #115 from projecthorus/mycall_testing
apply testing field to uploader_callsign of MYCALL
This commit is contained in:
commit
0663be8241
@ -35,8 +35,14 @@ def telemetry_filter(telemetry):
|
||||
|
||||
# Returns true for anything that should be hidden
|
||||
def telemetry_hide_filter(telemetry):
|
||||
if telemetry["payload_callsign"] in ['MYCALL','4FSKTEST','4FSKTEST-V2']:
|
||||
# Default Horus Binary callsigns
|
||||
if telemetry["payload_callsign"] in ['4FSKTEST','4FSKTEST-V2']:
|
||||
return True
|
||||
|
||||
# Default pysondehub uploader callsign
|
||||
if telemetry["uploader_callsign"] in ['MYCALL']:
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
def post(payload):
|
||||
|
Loading…
x
Reference in New Issue
Block a user