Beispiel #1
0
	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()
Beispiel #2
0
	def popupusechosen(self):
		grabrecent.go(cursitting,datadir,checksitting)
		#print checksitting.last
		self.refresh_list()
Beispiel #3
0
	def popupusecurrent(self):
		#newsitting = currentsitting
		grabrecent.go(cursitting,datadir,currentsitting)
		#print currentsitting.last
		self.refresh_list()