From 51844600c96b75a658c8c7b69b9b02933a6d6a70 Mon Sep 17 00:00:00 2001 From: acn Date: Thu, 9 Jun 2016 13:58:03 +0200 Subject: [PATCH] welcome page fix try --- rtxHelpers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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