From 1d0f7195314ef3d54f1ed2703dbefde6d4260ca9 Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Fri, 16 May 2025 14:11:19 +0300 Subject: [PATCH] [+] fix module:switch --- python/meson.build | 2 +- python/online/fxreader/pr34/commands_typed/cli.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/python/meson.build b/python/meson.build index 5d4af1f..0ba40dc 100644 --- a/python/meson.build +++ b/python/meson.build @@ -5,7 +5,7 @@ project( ).stdout().strip('\n'), # 'online.fxreader.uv', # ['c', 'cpp'], - version: '0.1.5.16+27.15', + version: '0.1.5.16+27.16', # default_options: [ # 'cpp_std=c++23', # # 'prefer_static=true', diff --git a/python/online/fxreader/pr34/commands_typed/cli.py b/python/online/fxreader/pr34/commands_typed/cli.py index 7260fdc..050a511 100644 --- a/python/online/fxreader/pr34/commands_typed/cli.py +++ b/python/online/fxreader/pr34/commands_typed/cli.py @@ -696,6 +696,9 @@ class CLI(abc.ABC): if not pyproject2['tool']: pyproject2['tool'] = [] + if not 'tool' in pyproject2: + pyproject2['tool'] = dict() + pyproject_tool = pyproject2['tool'] # assert isinstance(pyproject_tool, tomlkit.items.Array) assert isinstance(pyproject_tool, tomlkit.items.Table)