mirror of https://github.com/progval/irctest.git
fix addMysqlToConfig
This commit is contained in:
parent
a37b454ee7
commit
59eb7502f5
|
@ -226,7 +226,7 @@ class OragonoController(BaseServerController, DirectoryBasedController):
|
|||
def addMysqlToConfig(self, config=None):
|
||||
mysql_password = os.getenv('MYSQL_PASSWORD')
|
||||
if not mysql_password:
|
||||
return None
|
||||
return config
|
||||
if config is None:
|
||||
config = self.baseConfig()
|
||||
config['datastore']['mysql'] = {
|
||||
|
|
Loading…
Reference in New Issue