![](https://secure.gravatar.com/avatar/79b398e90ee81bd64ec95da03c16f36c.jpg?s=120&d=mm&r=g)
Quoting Pedro Sanchez <psanchez@nortel.com>:
1) I don't understand what the third parameters(noLogout and resc.logout) in these return statements do:
def requestAvatar(self, avatarId, mind, *interfaces): ... return (inevow.IResource, resc, noLogout) ... return (inevow.IResource, resc, resc.logout)
Can you give me a hint?
It's the method called when you access the guard.LOGOUT_AVATAR url. So "noLogout" when you're Anonymous (you can't log out when you're anonymous), and resc.logout which is a specific method.
2) Now I'm trying to move the LoggedIn class into an external "welcome.html" file. I get this error (files follow my signature):
exceptions.AttributeError: 'NoneType' object has no attribute 'load'
docfactory != docFactory -- Thomas