v0.2.1: Fix compatibility issue with recent pywikibot
This commit is contained in:
@@ -9,7 +9,7 @@ based projects of [User:JogoBot](https://de.wikipedia.org/wiki/Benutzer:JogoBot)
|
||||
|
||||
## Installation
|
||||
```shell
|
||||
pip install git+https://git.golderweb.de/wiki/jogobot.git@v0.2#egg=jogobot
|
||||
pip install git+https://git.golderweb.de/wiki/jogobot.git@v0.2.1#egg=jogobot
|
||||
```
|
||||
|
||||
## Bugs
|
||||
@@ -23,8 +23,11 @@ pip install git+https://git.golderweb.de/wiki/jogobot.git@v0.2#egg=jogobot
|
||||
* 0.2
|
||||
- package installable via setuptools/pip
|
||||
|
||||
* 0.2.1
|
||||
- Fix compatibility issue with recent pywikibot
|
||||
|
||||
## License
|
||||
GPLv3+
|
||||
|
||||
## Author Information
|
||||
Copyright 2018 Jonathan Golder <jonathan@golderweb.de>
|
||||
Copyright 2022 Jonathan Golder <jonathan@golderweb.de>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#
|
||||
# jogobot.py
|
||||
#
|
||||
# Copyright 2017 Jonathan Golder <jonathan@golderweb.de>
|
||||
# Copyright 2022 Jonathan Golder <jonathan@golderweb.de>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -70,9 +70,9 @@ def output( text, level="INFO", decoder=None, newline=True,
|
||||
pass
|
||||
|
||||
if ( level == DEBUG ):
|
||||
logoutput(text, decoder, newline, _level, layer, **kwargs)
|
||||
logoutput(text, decoder=decoder, newline=newline, level=_level, layer=layer, **kwargs)
|
||||
else:
|
||||
logoutput(text, decoder, newline, _level, **kwargs)
|
||||
logoutput(text, decoder=decoder, newline=newline, level=_level, **kwargs)
|
||||
|
||||
|
||||
# Since we like to have timestamps in Output for logging, we replace
|
||||
|
||||
Reference in New Issue
Block a user