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:
Damien Elmes 2020-01-14 15:18:07 +10:00
parent 1824ca1b5d
commit d962c0d8cb

View file

@ -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()