diff --git a/.python-version b/.python-version index cc1923a..24ee5b1 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.8 +3.13 diff --git a/src/pyflowx/cli/emlmanager.py b/src/pyflowx/cli/emlmanager.py index e1a2b9a..a4ac192 100644 --- a/src/pyflowx/cli/emlmanager.py +++ b/src/pyflowx/cli/emlmanager.py @@ -557,15 +557,13 @@ class EmlManagerHandler(BaseHTTPRequestHandler): emails = self.db.search_emails(keyword, field, limit, offset) total_count = self.db.get_email_count() - self._send_json_response( - { - "emails": emails, - "count": len(emails), - "total": total_count, - "limit": limit, - "offset": offset, - } - ) + self._send_json_response({ + "emails": emails, + "count": len(emails), + "total": total_count, + "limit": limit, + "offset": offset, + }) def _api_get_email(self, query_params: dict[str, list[str]]) -> None: """API: 获取单个邮件详情.""" diff --git a/uv.lock b/uv.lock index ae18e08..e081304 100644 --- a/uv.lock +++ b/uv.lock @@ -2184,7 +2184,7 @@ wheels = [ [[package]] name = "pyflowx" -version = "0.1.13" +version = "0.2.0" source = { editable = "." } dependencies = [ { name = "graphlib-backport", marker = "python_full_version < '3.9'" },