5 Commits
Author SHA1 Message Date
golderweb f235d2d0a6 Merge branch 'release-0.1.1' 2018-10-18 14:14:00 +02:00
golderweb e49cf9aa50 Prepare bugfix release 0.1.1 2018-10-18 14:13:23 +02:00
golderweb 00d31dda47 FIX: enable update period check
For debugging purposes, this check was disabled and unintentionally not
reenabled
2018-10-18 14:09:08 +02:00
golderweb 34c0835d22 Merge branch 'release-0.1' 2018-10-09 08:42:34 +02:00
golderweb 4395cb42eb Prepare stable release v0.1 2018-10-09 08:41:14 +02:00
3 changed files with 10 additions and 8 deletions
View File
+10 -6
View File
@@ -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)
-2
View File
@@ -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