bump version; fix issue with importing on windows

This commit is contained in:
Damien Elmes 2012-10-06 11:15:53 +09:00
parent f08984067c
commit 81dc4ce54b
2 changed files with 3 additions and 1 deletions

View file

@ -8,7 +8,7 @@ import anki.lang
from anki.consts import HELP_SITE as appHelpSite
from anki.hooks import runHook
appVersion="2.0-rc6"
appVersion="2.0.0"
appWebsite="http://ankisrs.net/"
appChanges="http://ankisrs.net/docs/changes.html"
appDonate="http://ankisrs.net/support/"

View file

@ -1057,6 +1057,8 @@ Please ensure a profile is open and Anki is not busy, then try again."""),
if buf == "raise":
return
# import
if not isinstance(buf, unicode):
buf = unicode(buf, "utf8", "ignore")
if not os.path.exists(buf):
return showInfo(_("Please use File>Import to import this file."))
import aqt.importing