def __init__(self, xml, cwd, default): xbmcgui.WindowXMLDialog.__init__(self) self.MPDB = MypicsDB.MyPictureDB()