Fix removed pywikibot config property db_hostname
https://phabricator.wikimedia.org/rPWBC2d73643f70a3f3289ff83e7ec142727d79d2649c
This commit is contained in:
@@ -19,6 +19,9 @@ Those can be installed using pip and the _requirements.txt_ file provided with t
|
|||||||
|
|
||||||
Versions
|
Versions
|
||||||
--------
|
--------
|
||||||
|
* v1.2.2
|
||||||
|
- Fix removed pywikibot config property db_hostname
|
||||||
|
|
||||||
* v1.2.1
|
* v1.2.1
|
||||||
- Fix [#72](https://git.golderweb.de/wiki/jogobot-red/issues/72)
|
- Fix [#72](https://git.golderweb.de/wiki/jogobot-red/issues/72)
|
||||||
|
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ Base = declarative_base()
|
|||||||
url = URL( "mysql+pymysql",
|
url = URL( "mysql+pymysql",
|
||||||
username=config.db_username,
|
username=config.db_username,
|
||||||
password=config.db_password,
|
password=config.db_password,
|
||||||
host=config.db_hostname,
|
host=config.db_hostname_format.format('tools'),
|
||||||
port=config.db_port,
|
port=config.db_port,
|
||||||
database=( config.db_username +
|
database=( config.db_username +
|
||||||
jogobot.config['redundances']['db_suffix'] ),
|
jogobot.config['redundances']['db_suffix'] ),
|
||||||
|
|||||||
Reference in New Issue
Block a user