Merge pull request #115 from projecthorus/mycall_testing

apply testing field to uploader_callsign of MYCALL
This commit is contained in:
Mark Jessop 2023-07-07 11:45:38 +09:30 committed by GitHub
commit 0663be8241
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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