egoexpress / innoxmpp

Python XMPP admin 'bots' based on the SleekXMPP library
2 stars 1 forks source link

Move self.loadConfigSettings() to GenericBot class #3

Closed egoexpress closed 11 years ago

egoexpress commented 12 years ago

Move call to self.loadConfigSettings() to GenericBot class to omit init(self) in subclasses.

    def __init__(self):
        """
        Designated initializer
        """
        super(GitBot,self).__init__()
        self.loadConfigSettings()
egoexpress commented 11 years ago

Not needed anymore, handled by BotRunner and ConfigOptions class.