From bd8930d03ef27702660bb496215aa55720597c1e Mon Sep 17 00:00:00 2001 From: guanjihuan Date: Mon, 27 Nov 2023 16:51:44 +0800 Subject: [PATCH] =?UTF-8?q?0.1.49=20=E4=BF=AE=E5=A4=8D=E8=A3=85=E9=A5=B0?= =?UTF-8?q?=E5=99=A8Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PyPI/setup.cfg | 2 +- PyPI/src/guan.egg-info/PKG-INFO | 2 +- PyPI/src/guan/__init__.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PyPI/setup.cfg b/PyPI/setup.cfg index 5cb64ae..3307161 100644 --- a/PyPI/setup.cfg +++ b/PyPI/setup.cfg @@ -1,7 +1,7 @@ [metadata] # replace with your username: name = guan -version = 0.1.48 +version = 0.1.49 author = guanjihuan author_email = guanjihuan@163.com description = An open source python package diff --git a/PyPI/src/guan.egg-info/PKG-INFO b/PyPI/src/guan.egg-info/PKG-INFO index 1e04bb8..3ee6c0b 100644 --- a/PyPI/src/guan.egg-info/PKG-INFO +++ b/PyPI/src/guan.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: guan -Version: 0.1.48 +Version: 0.1.49 Summary: An open source python package Home-page: https://py.guanjihuan.com Author: guanjihuan diff --git a/PyPI/src/guan/__init__.py b/PyPI/src/guan/__init__.py index 33759d0..09c67bd 100644 --- a/PyPI/src/guan/__init__.py +++ b/PyPI/src/guan/__init__.py @@ -2,8 +2,8 @@ # 函数的装饰器,用于软件包的统计 def function_decorator(func): - def wrapper(): - func() + def wrapper(*args, **kwargs): + func(*args, **kwargs) import guan guan.statistics_of_guan_package(func.__name__) return wrapper