Skip to content

Commit fcd069d

Browse files
committed
fix: move logger initialization after imports
1 parent 1a2004f commit fcd069d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docx_editor_mcp/tools.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
from typing import Any, cast
66

77
from docx_editor import Document
8-
9-
logger = logging.getLogger(__name__)
108
from docx_editor.exceptions import TextNotFoundError
119

1210
from .cache import CachedDocument, normalize_path
1311
from .server import DocxMCPServer
1412

13+
logger = logging.getLogger(__name__)
14+
1515

1616
def _get_cached_or_error(server: DocxMCPServer, path: str) -> CachedDocument | dict[str, Any]:
1717
"""Get cached document or return error dict.

0 commit comments

Comments
 (0)