Skip to content

Commit 0def769

Browse files
committed
fix 8214608
1 parent 8214608 commit 0def769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python/qgspythonutilsimpl.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ bool QgsPythonUtilsImpl::runStringUnsafe( const QString& command, bool single )
300300
// (non-unicode strings can be mangled)
301301
PyRun_String( command.toUtf8().data(), single ? Py_single_input : Py_file_input, mMainDict, mMainDict );
302302

303-
bool res = nullptr != PyErr_Occurred();
303+
bool res = nullptr == PyErr_Occurred();
304304

305305
// we are done calling python API, release global interpreter lock
306306
PyGILState_Release( gstate );

0 commit comments

Comments
 (0)