Skip to content

Commit

Permalink
fix 8214608
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Dec 16, 2015
1 parent 8214608 commit 0def769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/qgspythonutilsimpl.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 0def769

Please sign in to comment.