Remove isinstance check in error reporting

This commit is contained in:
Veronica Berglyd Olsen
2021-06-10 21:55:40 +02:00
parent d511c69ee7
commit b0225515d2
+1 -1
View File
@@ -747,7 +747,7 @@ class GuiBuildNovel(QDialog):
tEnd = int(time())
logger.debug("Built project in %.3f ms" % (1000*(tEnd - tStart)))
if bldObj.errData and isinstance(bldObj.errData, list):
if bldObj.errData:
self.theParent.makeAlert([
self.tr("There were problems when building the project:")
] + bldObj.errData, nwAlert.ERROR)