@ -68,7 +68,7 @@ class EuroExangeBot( pywikibot.bot.BaseBot ):
# Init working directory
self.init_wdir()
super().__init__(*kwargs)
super().__init__(**kwargs)
defrun(self):
@ -337,6 +337,8 @@ class EuroExangeBot( pywikibot.bot.BaseBot ):
verifyDescription=True#set to False to skip double-checking/editing description => change to bot-mode
ignoreWarning=["exists","duplicate",]#set to True to skip warnings, Upload even if another file would be overwritten or another mistake would be risked
targetSite=pywikibot.Site()
always=self.getOption("always")
aborts=Trueifself.getOption("always")elselist()
bot=pywikibot.specialbots.UploadRobot(
filepath,
@ -345,7 +347,9 @@ class EuroExangeBot( pywikibot.bot.BaseBot ):