Compare commits
5
Commits
3cd639eef9
...
v0.1.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f235d2d0a6 | ||
|
|
e49cf9aa50 | ||
|
|
00d31dda47 | ||
|
|
34c0835d22 | ||
|
|
4395cb42eb |
@@ -1,9 +1,7 @@
|
|||||||
# wiki-jogobot-euroexchange
|
# wiki-jogobot-euroexchange
|
||||||
This is a [Pywikibot](https://www.mediawiki.org/wiki/Manual:Pywikibot) based [Wikipedia Bot](https://de.wikipedia.org/wiki/Wikipedia:Bots)
|
This is a [Pywikibot](https://www.mediawiki.org/wiki/Manual:Pywikibot) based [Wikipedia Bot](https://commons.wikimedia.org/wiki/Commons:Bots)
|
||||||
of [User:JogoBot](https://de.wikipedia.org/wiki/Benutzer:JogoBot) on the
|
of [User:JogoBot](https://commons.wikimedia.org/wiki/User:JogoBot) on
|
||||||
[German Wikipedia](https://de.wikipedia.org/wiki/Wikipedia:Hauptseite).
|
[Wikimedia Commons](https://commons.wikimedia.org/wiki/Main_Page).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
* Python 3.4+ (at least it is only tested with those)
|
* Python 3.4+ (at least it is only tested with those)
|
||||||
@@ -13,9 +11,15 @@ of [User:JogoBot](https://de.wikipedia.org/wiki/Benutzer:JogoBot) on the
|
|||||||
## Usage
|
## Usage
|
||||||
```
|
```
|
||||||
python euroexchange.py
|
python euroexchange.py
|
||||||
|
```
|
||||||
|
|
||||||
## Versions
|
## Versions
|
||||||
*
|
* 0.1
|
||||||
|
- First stable release to be run on wmflabs
|
||||||
|
- Download recent sourcefile, generate images based on json job list and upload them
|
||||||
|
|
||||||
|
* 0.1.1
|
||||||
|
- Bugfix: only update image if update period is reached
|
||||||
|
|
||||||
## Bugs
|
## Bugs
|
||||||
[jogobot-euroexchange Issues](https://git.golderweb.de/wiki/jogobot-euroexchange/issues)
|
[jogobot-euroexchange Issues](https://git.golderweb.de/wiki/jogobot-euroexchange/issues)
|
||||||
|
|||||||
@@ -268,8 +268,6 @@ class EuroExchangeBot( pywikibot.bot.BaseBot ):
|
|||||||
@rtype bool
|
@rtype bool
|
||||||
"""
|
"""
|
||||||
|
|
||||||
return True
|
|
||||||
|
|
||||||
# Get datetime of last update
|
# Get datetime of last update
|
||||||
last_update = self.current_job.filepage.latest_file_info.timestamp
|
last_update = self.current_job.filepage.latest_file_info.timestamp
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user