Example #1
0
	def fetch( self, obj, id ):
		if id == 0:
			try:
				return self.player.boards[0]
			except IndexError:
				return None

		return GetWithIDHandler.fetch( self, obj, id )
Example #2
0
	def fetch( self, obj, id ):
		if id == 0:
			return self.player

		return GetWithIDHandler.fetch( self, obj, id )