diff --git a/anki/deck.py b/anki/deck.py index a4f4c6434..af783a68c 100644 --- a/anki/deck.py +++ b/anki/deck.py @@ -681,7 +681,7 @@ update facts set tags = :t, mod = :n where id = :id""", [fix(row) for row in res self.syncName = u"" def syncingEnabled(self): - return self.syncName + return not not self.syncName def genSyncName(self): return unicode(checksum(self.path.encode("utf-8"))) diff --git a/anki/storage.py b/anki/storage.py index c75f09c0c..b8e31966a 100644 --- a/anki/storage.py +++ b/anki/storage.py @@ -160,7 +160,7 @@ 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 Settings"), + intTime(), _("Default Options"), simplejson.dumps(anki.groups.defaultConf)) db.execute( "insert or ignore into groups values (1, ?, ?, 1, ?)",