def read_response_header(self, response_header):
        # Check for genuine error conditions.
        if (200, 300, 301, 302, 303, 307) not in response_header.statusCode():
            self.show_error(u'Download failed: {}.'.format(response_header.reasonPhrase()))
            self.http_request_aborted = True
            self.http.abort()
            self.enable_ui_after_error()
dataset/ETHPy150Open jyapayne/Web2Executable/main.py/MainWindow.read_response_header/swapped operands of `not in`