mirror of
https://github.com/projecthorus/sondehub-infra.git
synced 2025-01-18 02:39:45 +00:00
apply testing field to uploader_callsign of MYCALL
This commit is contained in:
parent
26ec1384cb
commit
85987eaf08
@ -35,8 +35,14 @@ def telemetry_filter(telemetry):
|
|||||||
|
|
||||||
# Returns true for anything that should be hidden
|
# Returns true for anything that should be hidden
|
||||||
def telemetry_hide_filter(telemetry):
|
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
|
return True
|
||||||
|
|
||||||
|
# Default pysondehub uploader callsign
|
||||||
|
if telemetry["uploader_callsign"] in ['MYCALL']:
|
||||||
|
return True
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def post(payload):
|
def post(payload):
|
||||||
|
Loading…
Reference in New Issue
Block a user