From 3f8beb8eea2d244ed81b357cdefa381d877b43db Mon Sep 17 00:00:00 2001 From: Mel Massadian Date: Sat, 6 Apr 2024 20:38:38 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20issues=20from=20merge?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit some might still remain, properly check it --- nodes/graph_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nodes/graph_utils.py b/nodes/graph_utils.py index 44ebf4f..555d86d 100644 --- a/nodes/graph_utils.py +++ b/nodes/graph_utils.py @@ -263,7 +263,7 @@ class MTB_StringReplace: return (string,) -class MTBMathExpression: +class MTB_MathExpression: """Node to evaluate a simple math expression string.""" @classmethod @@ -283,7 +283,6 @@ class MTBMathExpression: ) def eval_expression(self, expression, **kwargs): - import math from ast import literal_eval for key, value in kwargs.items():