class getData(QThread): def __init__(self,parent=None): super(getData,self).__init__() def run(self): self.sati=appSat.dialog.satLista.currentText() self.satData=Satellite(sat=appSat.satelites[self.sati]) #print 'gotovo %s'%self.satData.satParameters self.satData.get(self.sati[-5:])
def run(self): self.sati=appSat.dialog.satLista.currentText() self.satData=Satellite(sat=appSat.satelites[self.sati]) #print 'gotovo %s'%self.satData.satParameters self.satData.get(self.sati[-5:])