Skip to content
Permalink
Browse files

fix 8214608

  • Loading branch information
jef-n committed Dec 16, 2015
1 parent 8214608 commit 0def7693296778ebe179adf8478196244c32fca3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/python/qgspythonutilsimpl.cpp
@@ -300,7 +300,7 @@ bool QgsPythonUtilsImpl::runStringUnsafe( const QString& command, bool single )
// (non-unicode strings can be mangled)
PyRun_String( command.toUtf8().data(), single ? Py_single_input : Py_file_input, mMainDict, mMainDict );

bool res = nullptr != PyErr_Occurred();
bool res = nullptr == PyErr_Occurred();

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

0 comments on commit 0def769

Please sign in to comment.
You can’t perform that action at this time.