mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-11-20 03:02:40 +03:00
plug.py: Use logger.trace_if(...)
This commit is contained in:
1 file changed
+2
-2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user