[Twisted-web] Issue with nevow.tag.meta - SOLVED

Simon Pickles sipickles at googlemail.com
Sat May 17 07:17:41 EDT 2008


Simon Pickles wrote:
> Hi,
>
> This statement will not run due to the syntax error caused by the -.
>
> T.meta(http-equiv="refresh" content="600")
>
> Is there a workaround?
>
I had to pass a dictionary to the meta tag:

        metaRefresh = { "http-equiv":"refresh", "content":"5"}
       
        T.meta(**self.metaRefresh)


Thanks k4y!



More information about the Twisted-web mailing list