mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-06 17:26:57 -05:00
14 lines
372 B
Python
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)
|