add jpg support. Please note that 32bit bitmaps require 4x the memory of 8bit, possib...
[enigma2.git] / lib / python / Tools / Import.py
1 def my_import(name):
2         mod = __import__(name)
3         components = name.split('.')
4         for comp in components[1:]:
5                 mod = getattr(mod, comp)
6         return mod