<div dir="ltr"><br>HTML TAG:<br><META HTTP-EQUIV="Refresh" CONTENT="900;URL=/online/servlet/efsonline/SignOff"><br><br><br>Most browsers interpret this to mean "refresh this page in 900 and redirect to /online/servlet/efsonline/SignOff". However, twill seems to be ignoring the "900" and refreshing immediately (although it does redirect to the proper URL).<br>
<br><br>Turning on debugging for equiv-refresh gives me:<br>equiv-refresh DEBUG: code 200, hdrs has 'refresh'<br>equiv-refresh DEBUG: refresh header is 900;URL=/online/servlet/efsonline/SignOff<br>equiv-refresh DEBUG: pause: 900<br>
equiv-refresh DEBUG: new url: URL=/online/servlet/efsonline/SignOff<br>equiv-refresh DEBUG: final url: /online/servlet/efsonline/SignOff<br>Following HTTP-EQUIV=REFRESH to /online/servlet/efsonline/SignOff<br><br><br>The problem appears in line 436:<br>
if pause != 0 and 0: # CTB hack! ==# and self.honor_time:<br><br>In this case, pause != 0 BUT 0 always evaluates to False! My guess is that it is there because there is no solution yet, as using time.sleep(pause) seems to be a bad idea because it blocks everything else (I'm sure you know this!).<br>
<br><br>What was the purpose of that if-statement?<br><br><br>--<br>Dave<br><br></div>