mirror of https://github.com/progval/irctest.git
simplify addLoggingToConfig
This commit is contained in:
parent
c12c44b993
commit
21b225f23d
|
@ -205,7 +205,9 @@ class OragonoController(BaseServerController, DirectoryBasedController):
|
|||
def getConfig(self):
|
||||
return copy.deepcopy(self._config)
|
||||
|
||||
def addLoggingToConfig(self, config):
|
||||
def addLoggingToConfig(self, config=None):
|
||||
if config is None:
|
||||
config = self.baseConfig()
|
||||
config.update(LOGGING_CONFIG)
|
||||
return config
|
||||
|
||||
|
|
Loading…
Reference in New Issue