apply testing field to uploader_callsign of MYCALL

This commit is contained in:
Mark Jessop 2023-07-07 11:38:26 +09:30
parent 26ec1384cb
commit 85987eaf08

View File

@ -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):