Fix old var name
This commit is contained in:
@@ -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():
|
||||||
|
|||||||
Reference in New Issue
Block a user