Browse Source

v0.2.1: Fix compatibility issue with recent pywikibot

master v0.2.1
Jonathan Golder 3 years ago
parent
commit
c32577c7dc
Signed by: golderweb GPG Key ID: A63CA3193092AD20
  1. 7
      README.md
  2. 6
      jogobot/jogobot.py

7
README.md

@ -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>

6
jogobot/jogobot.py

@ -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

Loading…
Cancel
Save