From d962c0d8cb4725956b2f1aa28a4f92d7deec0524 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 14 Jan 2020 15:18:07 +1000 Subject: [PATCH] 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 --- qt/aqt/profiles.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qt/aqt/profiles.py b/qt/aqt/profiles.py index 381d8fae2..4a6d02ffd 100644 --- a/qt/aqt/profiles.py +++ b/qt/aqt/profiles.py @@ -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()