Browse Source

v0.2.1: Fix compatibility issue with recent pywikibot

master v0.2.1
Jonathan Golder 2 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 ## Installation
```shell ```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 ## Bugs
@ -23,8 +23,11 @@ pip install git+https://git.golderweb.de/wiki/jogobot.git@v0.2#egg=jogobot
* 0.2 * 0.2
- package installable via setuptools/pip - package installable via setuptools/pip
* 0.2.1
- Fix compatibility issue with recent pywikibot
## License ## License
GPLv3+ GPLv3+
## Author Information ## 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 # 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 # 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 # 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 pass
if ( level == DEBUG ): if ( level == DEBUG ):
logoutput(text, decoder, newline, _level, layer, **kwargs) logoutput(text, decoder=decoder, newline=newline, level=_level, layer=layer, **kwargs)
else: 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 # Since we like to have timestamps in Output for logging, we replace

Loading…
Cancel
Save