mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-04 01:21:03 +03:00
plugins/eddn: Detailed stop logging.
This commit is contained in:
parent
8b3785cdf7
commit
983e4d7acb
@ -111,13 +111,13 @@ class EDDN:
|
|||||||
self.replayfile.flush()
|
self.replayfile.flush()
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
"""
|
"""Close the replay file."""
|
||||||
close closes the replay file
|
logger.debug('Closing replayfile...')
|
||||||
"""
|
|
||||||
if self.replayfile:
|
if self.replayfile:
|
||||||
self.replayfile.close()
|
self.replayfile.close()
|
||||||
|
|
||||||
self.replayfile = None
|
self.replayfile = None
|
||||||
|
logger.debug('Done.')
|
||||||
|
|
||||||
def send(self, cmdr: str, msg: Mapping[str, Any]) -> None:
|
def send(self, cmdr: str, msg: Mapping[str, Any]) -> None:
|
||||||
"""
|
"""
|
||||||
@ -619,7 +619,10 @@ def prefs_changed(cmdr: str, is_beta: bool) -> None:
|
|||||||
|
|
||||||
|
|
||||||
def plugin_stop() -> None:
|
def plugin_stop() -> None:
|
||||||
|
"""Handle stopping this plugin."""
|
||||||
|
logger.debug('Calling this.eddn.close()')
|
||||||
this.eddn.close()
|
this.eddn.close()
|
||||||
|
logger.debug('Done.')
|
||||||
|
|
||||||
|
|
||||||
def journal_entry( # noqa: C901
|
def journal_entry( # noqa: C901
|
||||||
|
Loading…
x
Reference in New Issue
Block a user