mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -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:
|
except:
|
||||||
print("resetting corrupt _global")
|
print("resetting corrupt _global")
|
||||||
result.loadError = True
|
result.loadError = True
|
||||||
|
result.firstTime = True
|
||||||
|
|
||||||
# if new or read failed, create a default global profile
|
# if new or read failed, create a default global profile
|
||||||
self.meta = metaConf.copy()
|
self.meta = metaConf.copy()
|
||||||
|
|
Loading…
Reference in a new issue