diff --git a/qt/aqt/profiles.py b/qt/aqt/profiles.py index da404e657..381d8fae2 100644 --- a/qt/aqt/profiles.py +++ b/qt/aqt/profiles.py @@ -318,7 +318,7 @@ and no other programs are accessing your profile folders, then try again.""" opath = os.path.join(self.base, "prefs.db") path = os.path.join(self.base, "prefs21.db") - if os.path.exists(opath) and not os.path.exists(path): + if not retrying and os.path.exists(opath) and not os.path.exists(path): shutil.copy(opath, path) result.firstTime = not os.path.exists(path)