Fix removed pywikibot config property db_hostname

https://phabricator.wikimedia.org/rPWBC2d73643f70a3f3289ff83e7ec142727d79d2649c
This commit is contained in:
2021-03-07 11:48:07 +01:00
parent e6ffd7d14a
commit a35546e53d
2 changed files with 4 additions and 1 deletions

View File

@@ -49,7 +49,7 @@ Base = declarative_base()
url = URL( "mysql+pymysql",
username=config.db_username,
password=config.db_password,
host=config.db_hostname,
host=config.db_hostname_format.format('tools'),
port=config.db_port,
database=( config.db_username +
jogobot.config['redundances']['db_suffix'] ),