From f506416b73ba9b73aebb4ba690501cf4801313b4 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 26 Feb 2019 17:11:45 +0300 Subject: [PATCH] Issue #16655: [CEA 16647] medcalc.GetSlicesParameters --- src/MEDCalc/tui/medpresentation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MEDCalc/tui/medpresentation.py b/src/MEDCalc/tui/medpresentation.py index 848227d29..870220a09 100644 --- a/src/MEDCalc/tui/medpresentation.py +++ b/src/MEDCalc/tui/medpresentation.py @@ -151,7 +151,7 @@ def RemovePresentation(presentation_id): def __GetGENERICParameters(tag, presentation_id): exec("params = __manager.get%sParameters(presentation_id)" % tag) - return params + return locals()['params'] GetMeshViewParameters = lambda pres_id: __GetGENERICParameters("MeshView", pres_id) GetScalarMapParameters = lambda pres_id: __GetGENERICParameters("ScalarMap", pres_id) -- 2.39.2