mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
should use utf8 when pulled from sqlite, not the system encoding
This commit is contained in:
parent
9490d7e6cf
commit
68817218a4
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ create table if not exists config (conf text not null);
|
|||
def recentDecks(self):
|
||||
"Return a list of paths to remembered decks."
|
||||
# have to convert to unicode manually because of the text factory
|
||||
return [unicode(d[0]) for d in
|
||||
return [unicode(d[0], 'utf8') for d in
|
||||
self.db.execute("select path from decks")]
|
||||
|
||||
def addRecentDeck(self, path):
|
||||
|
|
Loading…
Reference in a new issue