Commits

Thomas Kluyver  committed fdbc961

Fix syntax in macdist

  • Participants
  • Parent commits d78812e
  • Branches macqt-syntaxfix

Comments (0)

Files changed (1)

File cx_Freeze/macdist.py

         """
         if self.qt_menu_nib:
             return [self.qt_menu_nib]
-        elif any(n.startswith("PyQt4.QtCore" for n in os.listdir(self.binDir)):
+        elif any(n.startswith("PyQt4.QtCore" for n in os.listdir(self.binDir))):
             from PyQt4 import QtCore
-        elif any(n.startswith("PySide.QtCore" for n in os.listdir(self.binDir)):
+        elif any(n.startswith("PySide.QtCore" for n in os.listdir(self.binDir))):
             from PyQt4 import QtCore
         else:
             return None