From 6fd89a00ae06b94aa55f0b64054730ea5cc1c746 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 4 Dec 2024 14:29:34 +0800 Subject: [PATCH] bugfix --- appPublic/registerfunction.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/appPublic/registerfunction.py b/appPublic/registerfunction.py index 068ed06..4fb1a5a 100755 --- a/appPublic/registerfunction.py +++ b/appPublic/registerfunction.py @@ -64,6 +64,10 @@ def registerFunction(name, func): rf = RegisterFunction() rf.register(name, func) +async def rfexe(rfname, *args): + rf = RegisterFunction() + return await rf.exe(rfname, *args) + async def main(): d = {} rf = RegisterCoroutine()