<div dir="ltr"><br>HTML TAG:<br>&lt;META HTTP-EQUIV=&quot;Refresh&quot; CONTENT=&quot;900;URL=/online/servlet/efsonline/SignOff&quot;&gt;<br><br><br>Most browsers interpret this to mean &quot;refresh this page in 900 and redirect to /online/servlet/efsonline/SignOff&quot;. However, twill seems to be ignoring the &quot;900&quot; 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 &#39;refresh&#39;<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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if pause != 0 and 0:&nbsp; # CTB hack! ==#&nbsp; 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&#39;m sure you know this!).<br>
<br><br>What was the purpose of that if-statement?<br><br><br>--<br>Dave<br><br></div>