Closed acertain closed 12 years ago
There's no reason for re.sub to fail unless it's not being passed a string. I'm willing to bet that url not in simplelayouts
and you're thus trying to render_template(None)
That is not the case, but it seems to be an issue like that, so I'm closing this.