1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 08:17:13 +03:00

pass Horizons/Odyssey flags in NavRoute

The old workaround appears to be not needed anymore. EDDN accepts NavRoute with Horizons/Odyssey flags now.

EDDiscovery, EDO Materials Helper and others also set these flags.
This commit is contained in:
Hans Acker 2024-07-13 06:35:21 +02:00 committed by GitHub
parent 87f59a54fa
commit ee0f317791
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1416,15 +1416,6 @@ class EDDN:
#######################################################################
# Elisions
#######################################################################
# WORKAROUND WIP EDDN schema | 2021-10-17: This will reject with the Odyssey or Horizons flags present
if 'odyssey' in entry:
del entry['odyssey']
if 'horizons' in entry:
del entry['horizons']
# END WORKAROUND
# In case Frontier ever add any
entry = filter_localised(entry)
#######################################################################