コード例 #1
0
	def P_satellites(self, request):
		stype = "tv"
		if "stype" in request.args.keys():
			stype = request.args["stype"][0]
		sat = getSatellites(stype)
		return { "satellites": sat['satellites'], "stype": stype }
コード例 #2
0
ファイル: web.py プロジェクト: athoik/e2openplugin-OpenWebif
	def P_getsatellites(self, request):
		stype = "tv"
		if "stype" in request.args.keys():
			stype = request.args["stype"][0]
		return getSatellites(stype)
コード例 #3
0
	def P_satellites(self, request):
		stype = "tv"
		if "stype" in request.args.keys():
			stype = request.args["stype"][0]
		sat = getSatellites(stype)
		return { "satellites": sat['satellites'], "stype": stype }
コード例 #4
0
ファイル: web.py プロジェクト: oscarfl/e2openplugin-OpenWebif
 def P_getsatellites(self, request):
     stype = "tv"
     if "stype" in request.args.keys():
         stype = request.args["stype"][0]
     return getSatellites(stype)