From 00d31dda479a965d54be9e51940de6f8cc9defda Mon Sep 17 00:00:00 2001 From: Jonathan Golder Date: Thu, 18 Oct 2018 14:09:08 +0200 Subject: [PATCH 1/2] FIX: enable update period check For debugging purposes, this check was disabled and unintentionally not reenabled --- euroexchange/euroexchange.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/euroexchange/euroexchange.py b/euroexchange/euroexchange.py index 9e4286d..09d122e 100644 --- a/euroexchange/euroexchange.py +++ b/euroexchange/euroexchange.py @@ -268,8 +268,6 @@ class EuroExchangeBot( pywikibot.bot.BaseBot ): @rtype bool """ - return True - # Get datetime of last update last_update = self.current_job.filepage.latest_file_info.timestamp From e49cf9aa50ac0a867709f0b99d10474e888b0bf8 Mon Sep 17 00:00:00 2001 From: Jonathan Golder Date: Thu, 18 Oct 2018 14:13:23 +0200 Subject: [PATCH 2/2] Prepare bugfix release 0.1.1 --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 94a676e..5a52b78 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,9 @@ python euroexchange.py - 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 [jogobot-euroexchange Issues](https://git.golderweb.de/wiki/jogobot-euroexchange/issues)