mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
bump version; fix issue with importing on windows
This commit is contained in:
parent
f08984067c
commit
81dc4ce54b
2 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,7 @@ import anki.lang
|
||||||
from anki.consts import HELP_SITE as appHelpSite
|
from anki.consts import HELP_SITE as appHelpSite
|
||||||
from anki.hooks import runHook
|
from anki.hooks import runHook
|
||||||
|
|
||||||
appVersion="2.0-rc6"
|
appVersion="2.0.0"
|
||||||
appWebsite="http://ankisrs.net/"
|
appWebsite="http://ankisrs.net/"
|
||||||
appChanges="http://ankisrs.net/docs/changes.html"
|
appChanges="http://ankisrs.net/docs/changes.html"
|
||||||
appDonate="http://ankisrs.net/support/"
|
appDonate="http://ankisrs.net/support/"
|
||||||
|
|
|
@ -1057,6 +1057,8 @@ Please ensure a profile is open and Anki is not busy, then try again."""),
|
||||||
if buf == "raise":
|
if buf == "raise":
|
||||||
return
|
return
|
||||||
# import
|
# import
|
||||||
|
if not isinstance(buf, unicode):
|
||||||
|
buf = unicode(buf, "utf8", "ignore")
|
||||||
if not os.path.exists(buf):
|
if not os.path.exists(buf):
|
||||||
return showInfo(_("Please use File>Import to import this file."))
|
return showInfo(_("Please use File>Import to import this file."))
|
||||||
import aqt.importing
|
import aqt.importing
|
||||||
|
|
Loading…
Reference in a new issue