From 0388984080e6a1b13ae8207974ffd37c44b29530 Mon Sep 17 00:00:00 2001 From: chakcy <947105045@qq.com> Date: Fri, 1 May 2026 15:13:39 +0800 Subject: [PATCH] =?UTF-8?q?modify:=20=E6=A8=A1=E5=9D=97=E6=8E=92=E9=99=A4?= =?UTF-8?q?=E5=AF=86=E9=92=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 2 +- src/module_bank/python_to_sqlite.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 13032d0..b13cffe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ description = "Add your description here" name = "module_bank" readme = "README.md" requires-python = ">=3.7" -version = "0.2.2" +version = "0.2.3" [[tool.uv.index]] default = true diff --git a/src/module_bank/python_to_sqlite.py b/src/module_bank/python_to_sqlite.py index 8882b15..57fd275 100644 --- a/src/module_bank/python_to_sqlite.py +++ b/src/module_bank/python_to_sqlite.py @@ -96,7 +96,7 @@ class PythonToSQLite: def list_modules(self): """列出数据库中的所有模块""" cursor = self.importer.connection.execute( - "SELECT module_name, is_package FROM python_modules ORDER BY module_name" + "SELECT module_name, is_package FROM python_modules WHERE module_name != 'key' ORDER BY module_name" ) return [dict(row) for row in cursor.fetchall()]