1 Commits
v0.2 ... master

Author SHA1 Message Date
c32577c7dc v0.2.1: Fix compatibility issue with recent pywikibot 2022-05-29 16:14:25 +02:00
2 changed files with 8 additions and 5 deletions

View File

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

View File

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