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

Handle burst of messages after NavBeaconScan more gracefully

This commit is contained in:
Jonathan Harris 2017-09-05 16:38:03 +01:00
parent 2ff75b9da9
commit 8aaf9dd84c

View File

@ -221,7 +221,7 @@ class EDDN:
if (entry['event'] == 'Docked' or
(entry['event'] == 'Location' and entry['Docked']) or
not (config.getint('output') & config.OUT_SYS_DELAY)):
self.sendreplay() # Try to send this and previous entries
self.parent.w.after(self.REPLAYPERIOD, self.sendreplay) # Try to send this and previous entries
else:
# Can't access replay file! Send immediately.
self.parent.status['text'] = _('Sending data to EDDN...')