Changeset 1388 for HelpIM3

Show
Ignore:
Timestamp:
01/28/11 06:16:01 (16 months ago)
Author:
winfried
Message:

- adding *pargs and **kwargs to the loading of the template, gives the template access to the site config.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • HelpIM3/branches/chatgroups/HelpIM/chat/pages/StartWebChatBase.py

    r1164 r1388  
    146146 
    147147        # write template 
    148         template = HelpIM.chat.templates.Chat.Template() 
     148        template = HelpIM.chat.templates.Chat.Template(*pargs, **kwargs) 
    149149        return "text/html; charset=utf-8", template.compose(self.translations, self.configs) 
    150150