Fix old var name

This commit is contained in:
2018-09-25 16:59:19 +02:00
parent 5cf5c5a597
commit f28fad2edb

View File

@@ -242,7 +242,7 @@ class EuroExangeBot( pywikibot.bot.BaseBot ):
if not self.current_job.filepage.exists(): if not self.current_job.filepage.exists():
jogobot.output( "Work on Job {}".format( self.current_job.image), jogobot.output( "Work on Job {}".format( self.current_job.image),
"ERROR" ) "ERROR" )
raise pywikibot.NoPage( filepage ) raise pywikibot.NoPage( self.current_job.filepage )
# Check if update is necessary # Check if update is necessary
if self.image_update_needed(): if self.image_update_needed():