mirror of
https://github.com/progval/irctest.git
synced 2025-04-06 07:19:54 +00:00
fix addMysqlToConfig
This commit is contained in:
@ -226,7 +226,7 @@ class OragonoController(BaseServerController, DirectoryBasedController):
|
|||||||
def addMysqlToConfig(self, config=None):
|
def addMysqlToConfig(self, config=None):
|
||||||
mysql_password = os.getenv('MYSQL_PASSWORD')
|
mysql_password = os.getenv('MYSQL_PASSWORD')
|
||||||
if not mysql_password:
|
if not mysql_password:
|
||||||
return None
|
return config
|
||||||
if config is None:
|
if config is None:
|
||||||
config = self.baseConfig()
|
config = self.baseConfig()
|
||||||
config['datastore']['mysql'] = {
|
config['datastore']['mysql'] = {
|
||||||
|
Reference in New Issue
Block a user