Пример #1
0
	def updateLocations(self):
		db = DBManager()
		#get this nodes location data
		self.locations = db.getLocations(self.sessionTblName, self.nID)
		db.close()
		#if this node has no locations or is not in a sessions, stop the housekeeping threads
		if self.locations is None:
			self.keepRunning = False