|
|
@ -276,7 +276,7 @@ class EuroExchangeBot( pywikibot.bot.BaseBot ): |
|
|
|
last_update = self.current_job.filepage.latest_file_info.timestamp |
|
|
|
|
|
|
|
# Get current time |
|
|
|
now = pywikibot.Site().getcurrenttime() |
|
|
|
now = pywikibot.Site().server_time() |
|
|
|
|
|
|
|
# Calculate allowed delta (with tolerance) |
|
|
|
delta = datetime.timedelta( days=self.current_job.freq, hours=-2 ) |
|
|
|