Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
c32577c7dc
|
|||
| a0ac0a95b1 | |||
| ed7e1acabc | |||
| 122cda6935 | |||
| d69d873624 |
21
README.md
21
README.md
@@ -1,22 +1,33 @@
|
|||||||
# wiki-jogobot-core
|
# jogobot
|
||||||
This python module contains code shared between several [Pywikibot](https://www.mediawiki.org/wiki/Manual:Pywikibot)
|
This python module contains code shared between several [Pywikibot](https://www.mediawiki.org/wiki/Manual:Pywikibot)
|
||||||
based projects of [User:JogoBot](https://de.wikipedia.org/wiki/Benutzer:JogoBot) on the
|
based projects of [User:JogoBot](https://de.wikipedia.org/wiki/Benutzer:JogoBot) on the
|
||||||
[German Wikipedia](https://de.wikipedia.org/wiki/Wikipedia:Hauptseite).
|
[German Wikipedia](https://de.wikipedia.org/wiki/Wikipedia:Hauptseite).
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
* Python 3.4+ (at least it is only tested with those)
|
* Python 3.4+ (at least it is only tested with those)
|
||||||
* pywikibot-core 2.0
|
* pywikibot-core 2.0+ ([Installation HowTo](https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation))
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
```shell
|
||||||
|
pip install git+https://git.golderweb.de/wiki/jogobot.git@v0.2.1#egg=jogobot
|
||||||
|
```
|
||||||
|
|
||||||
## Bugs
|
## Bugs
|
||||||
[wiki-jogobot-core on fs.golderweb.de (de)](https://fs.golderweb.de/proj22)
|
[jogobot Issues](https://git.golderweb.de/wiki/jogobot/issues)
|
||||||
|
|
||||||
## Version
|
## Versions
|
||||||
|
|
||||||
* 0.1
|
* 0.1
|
||||||
- first stable release
|
- first stable release
|
||||||
|
|
||||||
|
* 0.2
|
||||||
|
- package installable via setuptools/pip
|
||||||
|
|
||||||
|
* 0.2.1
|
||||||
|
- Fix compatibility issue with recent pywikibot
|
||||||
|
|
||||||
## License
|
## License
|
||||||
GPLv3+
|
GPLv3+
|
||||||
|
|
||||||
## Author Information
|
## Author Information
|
||||||
Copyright 2017 Jonathan Golder <jonathan@golderweb.de>
|
Copyright 2022 Jonathan Golder <jonathan@golderweb.de>
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user