bugfix
This commit is contained in:
parent
34450ca2f7
commit
b79207855c
@ -1,8 +0,0 @@
|
|||||||
db = DBPools()
|
|
||||||
dbname = get_serverenv('get_module_dbname')('appbase')
|
|
||||||
async with db.sqlorContext(dbname) as sor:
|
|
||||||
recs = await sor.R('svgicon', {})
|
|
||||||
for r in recs:
|
|
||||||
r.icon = f'<svg>{r.icon}</svg>'
|
|
||||||
return recs
|
|
||||||
return []
|
|
||||||
Loading…
x
Reference in New Issue
Block a user