diff -r 0835ed67714b -r 2f0d208b8137 eric6/CondaInterface/CondaExportDialog.py --- a/eric6/CondaInterface/CondaExportDialog.py Sat Nov 21 19:31:16 2020 +0100 +++ b/eric6/CondaInterface/CondaExportDialog.py Sun Nov 22 16:04:59 2020 +0100 @@ -185,7 +185,7 @@ try: with open(fileName, "w") as f: f.write(self.requirementsEdit.toPlainText()) - except (OSError, IOError) as err: + except OSError as err: E5MessageBox.critical( self, self.tr("Generate Requirements"),