mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-12 13:22:54 +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.
|
:param is_beta: whether the player is in a Beta universe.
|
||||||
:returns: Error message from the first plugin that returns one (if any)
|
:returns: Error message from the first plugin that returns one (if any)
|
||||||
"""
|
"""
|
||||||
# if entry['event'] in ('Location'):
|
if entry['event'] in ('Location'):
|
||||||
# logger.trace('Notifying plugins of "Location" event')
|
logger.trace_if('journal.locations', 'Notifying plugins of "Location" event')
|
||||||
|
|
||||||
error = None
|
error = None
|
||||||
for plugin in PLUGINS:
|
for plugin in PLUGINS:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user