From 64216210d7e8cf7dc4fec5f37b2004f530a9cd6d Mon Sep 17 00:00:00 2001
From: hardy <remi.hardy@openairinterface.org>
Date: Wed, 15 Dec 2021 08:02:01 +0100
Subject: [PATCH] bugfix : use the instance attribute correctly

---
 ci-scripts/ran_dashboard/Hdashboard.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ci-scripts/ran_dashboard/Hdashboard.py b/ci-scripts/ran_dashboard/Hdashboard.py
index 97020d1041..0cfae97c76 100644
--- a/ci-scripts/ran_dashboard/Hdashboard.py
+++ b/ci-scripts/ran_dashboard/Hdashboard.py
@@ -536,7 +536,7 @@ def main():
             buildid=sys.argv[5]
             status=sys.argv[6]
             htmlDash=Dashboard()
-            if mr in self.mr_list:
+            if mr in htmlDash.mr_list:
                 htmlDash.Build('singleMR',mr,'/tmp/MR'+mr+'_index.html') 
                 htmlDash.CopyToS3('/tmp/MR'+mr+'_index.html','oaitestdashboard','MR'+mr+'/index.html')
                 htmlDash.Build('Tests','0000','/tmp/Tests_index.html') 
-- 
2.26.2