From 4add7cf75b20284296c99d071830b0b622f520bf Mon Sep 17 00:00:00 2001 From: Saeed Rasooli Date: Tue, 31 Dec 2024 22:58:59 +0330 Subject: [PATCH] update ui/tools/view_glossary.py --- pyglossary/ui/tools/view_glossary.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyglossary/ui/tools/view_glossary.py b/pyglossary/ui/tools/view_glossary.py index 969e03479..23a703554 100755 --- a/pyglossary/ui/tools/view_glossary.py +++ b/pyglossary/ui/tools/view_glossary.py @@ -12,7 +12,7 @@ if TYPE_CHECKING: from collections.abc import Callable - from pyglossary.glossary_types import EntryType, GlossaryExtendedType + from pyglossary.glossary_types import EntryType from pyglossary.core import log from pyglossary.glossary_v2 import Glossary @@ -59,7 +59,7 @@ def highlightEntry(entry: EntryType) -> None: def viewGlossary( filename: str, formatName: str | None = None, - glos: GlossaryExtendedType | None = None, + glos: Glossary | None = None, noRes: bool = False, ) -> None: highlightEntry = getEntryHighlighter()