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
|
# create a default group/configuration, which should not be removed
|
||||||
db.execute(
|
db.execute(
|
||||||
"insert or ignore into gconf values (1, ?, ?, ?)""",
|
"insert or ignore into gconf values (1, ?, ?, ?)""",
|
||||||
intTime(), _("Default Options"),
|
intTime(), _("Default"),
|
||||||
simplejson.dumps(anki.groups.defaultConf))
|
simplejson.dumps(anki.groups.defaultConf))
|
||||||
db.execute(
|
db.execute(
|
||||||
"insert or ignore into groups values (1, ?, ?, 1, ?)",
|
"insert or ignore into groups values (1, ?, ?, 1, ?)",
|
||||||
intTime(), _("Default Group"), simplejson.dumps(
|
intTime(), _("Default"), simplejson.dumps(
|
||||||
anki.groups.defaultData))
|
anki.groups.defaultData))
|
||||||
if setDeckConf:
|
if setDeckConf:
|
||||||
db.execute("update deck set qconf = ?, conf = ?, data = ?",
|
db.execute("update deck set qconf = ?, conf = ?, data = ?",
|
||||||
|
|
Loading…
Reference in a new issue