Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d668817e6c | |||
| aee4986957 | |||
| eed989fd2a | |||
| 59aaac408d |
@@ -25,6 +25,9 @@ python euroexchange.py
|
|||||||
- Checks gnuplot exitcode and only upload chart if successfull created
|
- Checks gnuplot exitcode and only upload chart if successfull created
|
||||||
- Update gnuplot script on commons file description page
|
- Update gnuplot script on commons file description page
|
||||||
|
|
||||||
|
* 0.2.1
|
||||||
|
- Compatibility issue with recent pywikibot fixed
|
||||||
|
|
||||||
## Bugs
|
## Bugs
|
||||||
[jogobot-euroexchange Issues](https://git.golderweb.de/wiki/jogobot-euroexchange/issues)
|
[jogobot-euroexchange Issues](https://git.golderweb.de/wiki/jogobot-euroexchange/issues)
|
||||||
|
|
||||||
|
|||||||
@@ -276,7 +276,7 @@ class EuroExchangeBot( pywikibot.bot.BaseBot ):
|
|||||||
last_update = self.current_job.filepage.latest_file_info.timestamp
|
last_update = self.current_job.filepage.latest_file_info.timestamp
|
||||||
|
|
||||||
# Get current time
|
# Get current time
|
||||||
now = pywikibot.Site().getcurrenttime()
|
now = pywikibot.Site().server_time()
|
||||||
|
|
||||||
# Calculate allowed delta (with tolerance)
|
# Calculate allowed delta (with tolerance)
|
||||||
delta = datetime.timedelta( days=self.current_job.freq, hours=-2 )
|
delta = datetime.timedelta( days=self.current_job.freq, hours=-2 )
|
||||||
|
|||||||
Reference in New Issue
Block a user