1
0
mirror of https://github.com/fHDHR/fHDHR_NextPVR.git synced 2025-12-06 17:26:57 -05:00
fHDHR_NextPVR/fHDHR/fHDHRweb/fHDHRdevice/htmlerror.py
2020-10-08 20:07:26 -04:00

14 lines
372 B
Python

class HTMLerror():
def __init__(self, settings):
self.config = settings
def get_html_error(self, message):
htmlerror = """<html>
<head></head>
<body>
<h2>{}</h2>
</body>
</html>"""
return htmlerror.format(message)