From 31d4a30e7c11cc166522bc2e0337b8545eeb10c2 Mon Sep 17 00:00:00 2001 From: Andre Sailer Date: Thu, 7 Nov 2024 10:09:56 +0100 Subject: [PATCH] PythonPlugin: replace deprecated/removed Eval with Exec It doesn't matter because we don't care about the result --- DDCore/src/python/PythonPlugin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DDCore/src/python/PythonPlugin.cpp b/DDCore/src/python/PythonPlugin.cpp index eee8dfcf5..b266bfdf2 100644 --- a/DDCore/src/python/PythonPlugin.cpp +++ b/DDCore/src/python/PythonPlugin.cpp @@ -87,7 +87,8 @@ namespace { result = TPython::Exec(c.second.c_str()); break; case 'c': - TPython::Eval(c.second.c_str()); + // we do not care about the result + TPython::Exec(c.second.c_str()); result = kTRUE; break; case 'p':