mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-07 19:03:23 +03:00
Fail silently if EDSM Cmdr blank
This commit is contained in:
parent
94db336aa6
commit
445786a06f
@ -573,7 +573,7 @@ class AppWindow:
|
|||||||
self.w.update_idletasks()
|
self.w.update_idletasks()
|
||||||
|
|
||||||
# Send interesting events to EDSM
|
# Send interesting events to EDSM
|
||||||
if config.getint('output') & config.OUT_SYS_EDSM and not monitor.is_beta:
|
if config.getint('output') & config.OUT_SYS_EDSM and not monitor.is_beta and config.get('cmdrs') and monitor.cmdr in config.get('cmdrs') and config.get('edsm_usernames')[config.get('cmdrs').index(monitor.cmdr)]:
|
||||||
self.status['text'] = _('Sending data to EDSM...')
|
self.status['text'] = _('Sending data to EDSM...')
|
||||||
self.w.update_idletasks()
|
self.w.update_idletasks()
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user