From e4aae925b1438593f06f794330ebf10f0e499a44 Mon Sep 17 00:00:00 2001 From: Marianpol Date: Thu, 6 Feb 2020 20:27:02 +0100 Subject: [PATCH] Not supported list added --- pyren/scen_ecri_paraminj1.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyren/scen_ecri_paraminj1.py b/pyren/scen_ecri_paraminj1.py index 542fea0..a259a9c 100644 --- a/pyren/scen_ecri_paraminj1.py +++ b/pyren/scen_ecri_paraminj1.py @@ -399,10 +399,16 @@ def run( elm, ecu, command, data ): print infoMessage print + notSupported =[1,6,7] + choice = Choice(buttons.values(), "Choose :") + for key, value in buttons.iteritems(): if choice[0]=='': return if value == choice[0]: + if key in notSupported: + ch = raw_input("\nNot Supported yet. Press ENTER to exit") + return if key == 8: setGlowPlugsType(functions[key][0],functions[key][1],functions[key][2],functions[key][3]) else: