def loadSkinReal(skinPath): if os.path.exists(skinPath): print "[Widgets] Loading skin ", skinPath for skin in dom_skins: print "skin",skin if skin[0] == skinPath.replace("skin.xml",""): dom_skins.remove(skin) loadSkin(skinPath)
def loadSkinReal(skinPath): if os.path.exists(skinPath): print("[Widgets] Loading skin ", skinPath) for skin in dom_skins: print("skin", skin) if skin[0] == skinPath.replace("skin.xml", ""): dom_skins.remove(skin) loadSkin(skinPath)