mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-22 20:00:29 +03:00
plug.py: Use logger.trace_if(...)
This commit is contained in:
parent
1378f765cc
commit
c8081f339a
4
plug.py
4
plug.py
@ -257,8 +257,8 @@ def notify_journal_entry(cmdr, is_beta, system, station, entry, state):
|
||||
:param is_beta: whether the player is in a Beta universe.
|
||||
:returns: Error message from the first plugin that returns one (if any)
|
||||
"""
|
||||
# if entry['event'] in ('Location'):
|
||||
# logger.trace('Notifying plugins of "Location" event')
|
||||
if entry['event'] in ('Location'):
|
||||
logger.trace_if('journal.locations', 'Notifying plugins of "Location" event')
|
||||
|
||||
error = None
|
||||
for plugin in PLUGINS:
|
||||
|
Loading…
x
Reference in New Issue
Block a user