From a15ffe89715fd147d1a2235dac5f459b8eb47889 Mon Sep 17 00:00:00 2001 From: JohnserfSeed Date: Mon, 1 Jan 2024 14:13:58 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=BD=93=E4=BE=9D=E8=B5=96=E7=BC=BA?= =?UTF-8?q?=E5=A4=B1=E6=97=B6=E8=BE=93=E5=87=BA=E9=94=99=E8=AF=AF=E5=88=B0?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- f2/cli/cli_commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/f2/cli/cli_commands.py b/f2/cli/cli_commands.py index fff7787..625e5c2 100644 --- a/f2/cli/cli_commands.py +++ b/f2/cli/cli_commands.py @@ -81,7 +81,8 @@ def get_command(self, ctx, cmd_name): logger.info("App: %s" % app_name) command = getattr(module, app_name) return command - except (ImportError, AttributeError): + except (ImportError, AttributeError) as e: + logger.error("Error: %s" % e) return None From 409da58b75c874e5d1ba49f5bbb5c86a46d930c4 Mon Sep 17 00:00:00 2001 From: JohnserfSeed Date: Mon, 1 Jan 2024 14:15:48 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E2=9D=97=E6=B7=BB=E5=8A=A0=E9=81=97?= =?UTF-8?q?=E6=BC=8F=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7a8f2d1..ea97769 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,7 +36,10 @@ dependencies = [ "importlib_resources==6.1.0", "m3u8==3.6.0", "pytest==7.4.2", - "pytest-asyncio==0.21.1" + "pytest-asyncio==0.21.1", + "browser_cookie3==0.19.1", + "pydantic==1.10.12", + "qrcode==7.4.2", ] [project.scripts]