Merge branch 'main' of git.opencomputing.cn:yumoqing/kboss

This commit is contained in:
yumoqing 2025-09-18 10:48:07 +08:00
commit b0afba6de7

View File

@ -1,12 +0,0 @@
from sqlor.dbpools import runSQL
async def getFilenameFromId(idstr:str) -> str:
sql = "select * from kvobjects where id='%s'" % idstr
recs = await runSQL('homedata',sql)
if recs is None:
return None
if len(recs) == 0:
return None
return recs[0].name