Skip to content

Commit d450fd6

Browse files
committed
fix default config without new added item issue
1 parent c91999a commit d450fd6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/zvt/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ def init_log(file_name="zvt.log", log_dir=None, simple_formatter=True):
6969

7070
zvt_env = {}
7171

72-
zvt_config = {}
72+
# load default config
73+
with open(pkg_resources.resource_filename("zvt", "config.json")) as f:
74+
zvt_config = json.load(f)
7375

7476
_plugins = {}
7577

0 commit comments

Comments
 (0)