--- a/VultureChecker/VultureCheckerDialog.py Sat May 27 15:01:43 2023 +0200 +++ b/VultureChecker/VultureCheckerDialog.py Wed Aug 30 13:07:19 2023 +0200 @@ -269,7 +269,7 @@ try: self.source = Utilities.readEncodedFile(self.filename)[0] self.source = Utilities.normalizeCode(self.source) - except (UnicodeError, OSError) as msg: + except (OSError, UnicodeError) as msg: self.__createErrorItem(self.filename, str(msg).rstrip()) self.progress += 1 # Continue with next file @@ -293,7 +293,7 @@ try: source = Utilities.readEncodedFile(filename)[0] source = Utilities.normalizeCode(source) - except (UnicodeError, OSError) as msg: + except (OSError, UnicodeError) as msg: self.__createErrorItem(filename, str(msg).rstrip()) continue