1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-12 15:27:14 +03:00

OUT_EDDN_DO_NOT_DELAY should be OUT_EDDN_DELAY

* The old name was OUT_SYS_DELAY.
* Yes, this is the inverse of what we want, which is "should we not delay
  messages", but this is the legacy.
This commit is contained in:
Athanasius 2022-11-22 16:47:17 +00:00
parent 59f046ee67
commit 6070f82c6b
No known key found for this signature in database
GPG Key ID: 772697E181BB2767
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ class AbstractConfig(abc.ABC):
# OUT_SYS_AUTO = 512 # Now always automatic
OUT_MKT_MANUAL = 1024
OUT_EDDN_SEND_NON_STATION = 2048
OUT_EDDN_DO_NOT_DELAY = 4096
OUT_EDDN_DELAY = 4096
OUT_STATION_ANY = OUT_EDDN_SEND_STATION_DATA | OUT_MKT_TD | OUT_MKT_CSV
app_dir_path: pathlib.Path

View File

@ -1222,7 +1222,7 @@ class PreferencesDialog(tk.Toplevel):
(config.OUT_MKT_MANUAL if not self.out_auto.get() else 0) +
(self.out_ship.get() and config.OUT_SHIP) +
(config.get_int('output') & (
config.OUT_EDDN_SEND_STATION_DATA | config.OUT_EDDN_SEND_NON_STATION | config.OUT_EDDN_DO_NOT_DELAY
config.OUT_EDDN_SEND_STATION_DATA | config.OUT_EDDN_SEND_NON_STATION | config.OUT_EDDN_DELAY
))
)