1
0

welcome page fix try

This commit is contained in:
acn 2016-06-09 13:58:03 +02:00
parent aaead85e9b
commit 51844600c9

View File

@ -130,9 +130,9 @@ def goto_last_page():
def send_welcome_page():
""" get the btxlogo, make a rtxPage of it and send it to the client """
wpage = rtxPage()
wpage.set_page(bytes(cept.btxlogo, "latin-1"))
send_page(wpage)
glob.curpage = rtxPage()
glob.curpage.set_page(bytes(cept.btxlogo, "latin-1"))
send_page(glob.curpage)
def check_and_send_page(pgnr, errormsg):
""" checks if the page "pgnr" exists