diff --git a/rtxHelpers.py b/rtxHelpers.py index 31c91bf..fa4460e 100644 --- a/rtxHelpers.py +++ b/rtxHelpers.py @@ -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