Commit 851de530 authored by Matias Guijarro's avatar Matias Guijarro
Browse files

do the same as with qt4 for __path__ in CTools

parent e67dbf71
......@@ -13,7 +13,8 @@ except KeyError:
platforms = cmd.read().split()
cmd.close()
else:
raise ImportError('This module cannot be imported without get_compat_os.share, or define the QUB_COMPAT_OS environment variable.')
__path__.append(os.path.join(dirname,'lib'))
for plat in platforms:
__path__.append(os.path.join(dirname,'lib',plat))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment