mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 01:22:19 +03:00
FIX: Error: Can't connect to EDSM
This commit is contained in:
parent
52fc4abf53
commit
eb43758525
6
edsm.py
6
edsm.py
@ -44,12 +44,12 @@ class EDSM:
|
||||
|
||||
if data == -1:
|
||||
# System not present - but don't create it on the assumption that the caller will
|
||||
result['img'] = EDSM._IMG_NEW
|
||||
self.result['img'] = EDSM._IMG_NEW
|
||||
elif data.get('coords'):
|
||||
result['img'] = EDSM._IMG_KNOWN
|
||||
self.result['img'] = EDSM._IMG_KNOWN
|
||||
self.thread = threading.Thread(target = self.known, name = 'EDSM worker', args = (system_name, self.result))
|
||||
else:
|
||||
result['img'] = EDSM._IMG_UNKNOWN
|
||||
self.result['img'] = EDSM._IMG_UNKNOWN
|
||||
|
||||
# Asynchronous version of the above
|
||||
def start_lookup(self, system_name, known=0):
|
||||
|
Loading…
x
Reference in New Issue
Block a user