remove some debug entries

This commit is contained in:
norohind 2021-09-14 19:40:37 +03:00
parent 99c7a9c4f9
commit 0689d8b1ee
Signed by: norohind
GPG Key ID: 01C3BECC26FB59E1

10
load.py
View File

@ -48,7 +48,7 @@ class FSSSignals_cache:
self.cache.pop()
def fc_lookup(self, callsign):
logger.debug(f'lookup for {callsign}')
# logger.debug(f'lookup for {callsign}')
for signal in self.cache:
if signal['callsign'] == callsign:
@ -56,7 +56,7 @@ class FSSSignals_cache:
self.block = True
self.cache = list()
logger.debug(f'lookup for {callsign} successful: {signal["system"]}')
# logger.debug(f'lookup for {callsign} successful: {signal["system"]}')
return signal['system']
return None
@ -88,13 +88,13 @@ class Dockings_cache:
self.cache.pop()
def fc_lookup(self, callsign):
logger.debug(f'lookup for {callsign}')
# logger.debug(f'lookup for {callsign}')
for signal in self.cache:
if signal['callsign'] == callsign:
self.block = True
self.cache = list()
logger.debug(f'lookup for {callsign} successful: {signal["system"]}')
# logger.debug(f'lookup for {callsign} successful: {signal["system"]}')
return signal['system']
return None
@ -618,5 +618,5 @@ def cmdr_data(data, is_beta):
for ship_key in data['ships']:
if data['ships'][ship_key]['station']['name'] == carrier.callsign:
new_location = data['ships'][ship_key]['starsystem']['name']
logger.debug(f'Updating FC location according to cmdr_data: {carrier.location} -> {new_location}')
# logger.debug(f'Updating FC location according to cmdr_data: {carrier.location} -> {new_location}')
carrier.location = new_location