diff --git a/pytket/extensions/qiskit/backends/ibm.py b/pytket/extensions/qiskit/backends/ibm.py index cc83b106..fd4dacd6 100644 --- a/pytket/extensions/qiskit/backends/ibm.py +++ b/pytket/extensions/qiskit/backends/ibm.py @@ -619,9 +619,9 @@ def get_result(self, handle: ResultHandle, **kwargs: KwargTypes) -> BackendResul if self._monitor and job: # job_monitor(job) status = job.status() - while status.name not in ["DONE", "CANCELLED", "ERROR"]: + while status not in ["DONE", "CANCELLED", "ERROR"]: status = job.status() - print("Job status is", status.name) + print("Job status is", status) sleep(10) res = job.result(timeout=kwargs.get("timeout", None))