1
0
mirror of https://github.com/fHDHR/fHDHR_NextPVR.git synced 2025-12-06 09:36:59 -05:00
fHDHR_NextPVR/fHDHR_web/pages/xmltv_html.py
2020-12-08 09:27:51 -05:00

17 lines
375 B
Python

from flask import request, render_template
class xmlTV_HTML():
endpoints = ["/xmltv", "/xmltv.html"]
endpoint_name = "page_xmltv_html"
def __init__(self, fhdhr):
self.fhdhr = fhdhr
def __call__(self, *args):
return self.get(*args)
def get(self, *args):
return render_template('xmltv.html', request=request, fhdhr=self.fhdhr)