fix addMysqlToConfig

This commit is contained in:
Shivaram Lingamneni 2020-09-16 12:09:06 -04:00
parent a37b454ee7
commit 59eb7502f5

View File

@ -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'] = {