Skip to content

Commit 6c04cd7

Browse files
committed
PythonPlugin: replace deprecated/removed Eval with Exec
It doesn't matter because we don't care about the result
1 parent e5888ec commit 6c04cd7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

DDCore/src/python/PythonPlugin.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ namespace {
8787
result = TPython::Exec(c.second.c_str());
8888
break;
8989
case 'c':
90-
TPython::Eval(c.second.c_str());
90+
// we do not care about the result
91+
TPython::Exec(c.second.c_str());
9192
result = kTRUE;
9293
break;
9394
case 'p':

0 commit comments

Comments
 (0)