diff -r 0835ed67714b -r 2f0d208b8137 eric6/E5Gui/E5MainWindow.py --- a/eric6/E5Gui/E5MainWindow.py Sat Nov 21 19:31:16 2020 +0100 +++ b/eric6/E5Gui/E5MainWindow.py Sun Nov 22 16:04:59 2020 +0100 @@ -50,7 +50,7 @@ try: with open(styleSheetFile, "r", encoding="utf-8") as f: styleSheet = f.read() - except (IOError, OSError) as msg: + except OSError as msg: E5MessageBox.warning( self, QCoreApplication.translate(