Skip to content

Commit 2a9f3c6

Browse files
committed
added missing parenthesis
1 parent 84f22a6 commit 2a9f3c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PythonQt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ PythonQt::PythonQt(int flags, const QByteArray& pythonQtModuleName)
149149

150150
_p->_PythonQtObjectPtr_metaId = qRegisterMetaType<PythonQtObjectPtr>("PythonQtObjectPtr");
151151

152-
if (flags & PythonAlreadyInitialized == 0) {
152+
if ((flags & PythonAlreadyInitialized) == 0) {
153153
Py_SetProgramName("PythonQt");
154154
if (flags & IgnoreSiteModule) {
155155
// this prevents the automatic importing of Python site files

0 commit comments

Comments
 (0)