From aaf00f6100211b357dcd5eefd5166eb689ff5481 2010-05-15 20:06:55 From: florianlink Date: 2010-05-15 20:06:55 Subject: [PATCH] added missing parenthesis git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@188 ea8d5007-eb21-0410-b261-ccb3ea6e24a9 --- diff --git a/src/PythonQt.cpp b/src/PythonQt.cpp index 7fd18ad..f97bdf1 100644 --- a/src/PythonQt.cpp +++ b/src/PythonQt.cpp @@ -149,7 +149,7 @@ PythonQt::PythonQt(int flags, const QByteArray& pythonQtModuleName) _p->_PythonQtObjectPtr_metaId = qRegisterMetaType("PythonQtObjectPtr"); - if (flags & PythonAlreadyInitialized == 0) { + if ((flags & PythonAlreadyInitialized) == 0) { Py_SetProgramName("PythonQt"); if (flags & IgnoreSiteModule) { // this prevents the automatic importing of Python site files