diff --git a/anki/deck.py b/anki/deck.py index 6d59b4e6b..b686b0495 100644 --- a/anki/deck.py +++ b/anki/deck.py @@ -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