mirror of
https://github.com/ankitects/anki.git
synced 2025-11-10 22:57:11 -05:00
add routine to grab all css
This commit is contained in:
parent
cf43d23edd
commit
843e8f3b33
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
##########################################################################
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue