for suffix in ['png','jpg']:
attempt=os.path.join(dir,'images',"%s.%s"%(filename,suffix))
for suffix in ['png','jpg']:
attempt=os.path.join(dir,'images',"%s.%s"%(filename,suffix))
logolabel=QLabel("",self)
logolabel.setPixmap(pixmap)
self.main = QLabel("", self)
logolabel=QLabel("",self)
logolabel.setPixmap(pixmap)
self.main = QLabel("", self)