Skip to content

Commit

Permalink
PythonPlugin: replace deprecated/removed Eval with Exec
Browse files Browse the repository at this point in the history
It doesn't matter because we don't care about the result
  • Loading branch information
andresailer committed Nov 7, 2024
1 parent 4281175 commit 31d4a30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DDCore/src/python/PythonPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 31d4a30

Please sign in to comment.