mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
apsw wants unicode
This commit is contained in:
parent
090529c4d7
commit
2a72a4dc70
1 changed files with 1 additions and 1 deletions
|
@ -2795,7 +2795,7 @@ class DeckStorage(object):
|
|||
"Attach to a file, initializing DB"
|
||||
if apsw:
|
||||
import apsw
|
||||
acon = apsw.Connection(path)
|
||||
acon = apsw.Connection(unicode(path, "utf-8"))
|
||||
def connect():
|
||||
pycon = sqlite.connect(acon)
|
||||
return pycon
|
||||
|
|
Loading…
Reference in a new issue