def download_new(self): """ This function downloads the new votes automatically. """ if(grabrecent.getcurrentsitting(cursitting,currentsitting,checksitting)): #Now grab the votes and download them grabrecent.go(cursitting,datadir,currentsitting) self.refresh_list() else: #Check to see a delay - if so, popup and ask #print checksitting.last #print currentsitting.last self.popupsittingchoice()
def popupusechosen(self): grabrecent.go(cursitting,datadir,checksitting) #print checksitting.last self.refresh_list()
def popupusecurrent(self): #newsitting = currentsitting grabrecent.go(cursitting,datadir,currentsitting) #print currentsitting.last self.refresh_list()