From 4f819d06ece4aeb37d3ebd5da12d5efd10a74801 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 17 Jul 2019 17:23:22 +1000 Subject: [PATCH] display a more helpful message when base folder not readable in startup --- aqt/profiles.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aqt/profiles.py b/aqt/profiles.py index 1fdf6fda6..f12b31138 100644 --- a/aqt/profiles.py +++ b/aqt/profiles.py @@ -92,7 +92,8 @@ class ProfileManager: try: self._ensureExists(self.base) except: - # can't translate, as lang not initialized + # can't translate, as lang not initialized, and qt may not be + print("unable to create base folder") QMessageBox.critical( None, "Error", """\ Anki could not create the folder %s. Please ensure that location is not \