Skip to content

Commit 82e653f

Browse files
committed
updater: import json at module level in doc_generator
_read_update_history is a staticmethod and used json without an import (the only one was local to _run_incremental_update), so every --update that reached the metadata rewrite crashed with NameError.
1 parent ee9a0c7 commit 82e653f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎codewiki/cli/adapters/doc_generator.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"""
77

88
import asyncio
9+
import json
910
import logging
1011
import os
1112
import sys

0 commit comments

Comments
 (0)