add routine to grab all css

This commit is contained in:
Damien Elmes 2011-03-24 15:55:20 +09:00
parent cf43d23edd
commit 843e8f3b33

View file

@ -391,6 +391,9 @@ select id from cards where fid in (select id from facts where mid = ?)""",
self.conf['currentModelId'] = self.db.scalar(
"select id from models limit 1")
def allCSS(self):
return "\n".join(self.db.list("select css from models"))
# Field checksums and sorting fields
##########################################################################