From b97f913ba1ebdf80493724f4b7ab91ada9932c80 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 3 Feb 2014 01:51:51 +0900 Subject: [PATCH] catch another invalidTempFolder msg --- aqt/importing.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aqt/importing.py b/aqt/importing.py index e41bbf1b5..fa07a07e8 100644 --- a/aqt/importing.py +++ b/aqt/importing.py @@ -17,7 +17,6 @@ import aqt.forms import aqt.modelchooser import aqt.deckchooser - class ChangeMap(QDialog): def __init__(self, mw, model, current): QDialog.__init__(self, mw, Qt.Window) @@ -338,6 +337,8 @@ with a different browser.""") msg = _("""\ Invalid file. Please restore from backup.""") showWarning(msg) + elif "invalidTempFolder" in err: + showWarning(mw.errorHandler.tempFolderMsg()) elif "readonly" in err: showWarning(_("""\ Unable to import from a read-only file."""))