mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
just chop off options/group completely
This commit is contained in:
parent
0b92423cf7
commit
e950c8af1c
1 changed files with 2 additions and 2 deletions
|
@ -160,11 +160,11 @@ values(1,0,0,0,%(v)s,0,'',0,'', '', '');
|
|||
# create a default group/configuration, which should not be removed
|
||||
db.execute(
|
||||
"insert or ignore into gconf values (1, ?, ?, ?)""",
|
||||
intTime(), _("Default Options"),
|
||||
intTime(), _("Default"),
|
||||
simplejson.dumps(anki.groups.defaultConf))
|
||||
db.execute(
|
||||
"insert or ignore into groups values (1, ?, ?, 1, ?)",
|
||||
intTime(), _("Default Group"), simplejson.dumps(
|
||||
intTime(), _("Default"), simplejson.dumps(
|
||||
anki.groups.defaultData))
|
||||
if setDeckConf:
|
||||
db.execute("update deck set qconf = ?, conf = ?, data = ?",
|
||||
|
|
Loading…
Reference in a new issue