--- a/RefactoringRope/HelpDialog.py Sat Nov 21 16:41:12 2020 +0100 +++ b/RefactoringRope/HelpDialog.py Sun Nov 22 16:25:22 2020 +0100 @@ -55,7 +55,7 @@ with open(helpfile, "r", encoding="utf-8") as f: txt = f.read() self.helpEdit.setPlainText(txt) - except IOError as err: + except OSError as err: self.helpEdit.setPlainText( self.tr("Could not read file {0}.\nReason: {1}") .format(helpfile, str(err)))