mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
if profile is corrupt and is reset, need to set default lang again
Fixes https://anki.tenderapp.com/discussions/ankidesktop/37994-traceback-error-with-windows-64bit-standard-installation
This commit is contained in:
parent
1824ca1b5d
commit
d962c0d8cb
1 changed files with 1 additions and 0 deletions
|
@ -363,6 +363,7 @@ create table if not exists profiles
|
|||
except:
|
||||
print("resetting corrupt _global")
|
||||
result.loadError = True
|
||||
result.firstTime = True
|
||||
|
||||
# if new or read failed, create a default global profile
|
||||
self.meta = metaConf.copy()
|
||||
|
|
Loading…
Reference in a new issue