diff options
-rw-r--r-- | configure.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py index 9ee62de..54f4e53 100644 --- a/configure.py +++ b/configure.py @@ -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 |