Fixed FTBFS caused by commit 4ce11cc

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/8/head
Michele Calgaro 2 years ago
parent 4ce11cc30d
commit 8d670831ae
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -624,7 +624,7 @@ def generate_code(mname, imports=None, extra_cflags=None, extra_cxxflags=None, e
pyqtInclPathSeen = 0
for mod in pytde_imports [mname]:
if string.find (mod, "PyTQt.q") == 0 and not pyqtInclPathSeen:
if mod.find("PyTQt.q") == 0 and not pyqtInclPathSeen:
argv.append ("-I")
argv.append (pyqtcfg.pyqt_sip_dir)
pyqtInclPathSeen = 1

Loading…
Cancel
Save