Skip to content

Commit

Permalink
Log langtool version when it's set up
Browse files Browse the repository at this point in the history
  • Loading branch information
zkovari committed Sep 30, 2024
1 parent dc82458 commit 08872e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/python/plotlyst/service/grammar.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import language_tool_python
from PyQt6.QtCore import QRunnable
from language_tool_python import LanguageTool
from language_tool_python.download_lt import LATEST_VERSION
from overrides import overrides

from plotlyst.core.domain import Novel, Event, Location
Expand Down Expand Up @@ -56,6 +57,7 @@ def __init__(self):
def set(self, language_tool: LanguageTool):
self._language_tool = language_tool
self._error = None
logging.info(f'Grammar checker was set up with version {LATEST_VERSION}.')
emit_info('Grammar checker was set up.')
emit_global_event(LanguageToolSet(self, self._language_tool))

Expand Down

0 comments on commit 08872e3

Please sign in to comment.