mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
display a more helpful message when base folder not readable in startup
This commit is contained in:
parent
95387af2cd
commit
4f819d06ec
1 changed files with 2 additions and 1 deletions
|
@ -92,7 +92,8 @@ class ProfileManager:
|
||||||
try:
|
try:
|
||||||
self._ensureExists(self.base)
|
self._ensureExists(self.base)
|
||||||
except:
|
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(
|
QMessageBox.critical(
|
||||||
None, "Error", """\
|
None, "Error", """\
|
||||||
Anki could not create the folder %s. Please ensure that location is not \
|
Anki could not create the folder %s. Please ensure that location is not \
|
||||||
|
|
Loading…
Reference in a new issue