Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 027ca4cb09 |
@@ -28,9 +28,6 @@ python euroexchange.py
|
|||||||
* 0.2.1
|
* 0.2.1
|
||||||
- Compatibility issue with recent pywikibot fixed
|
- Compatibility issue with recent pywikibot fixed
|
||||||
|
|
||||||
* 0.2.2
|
|
||||||
- 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)
|
||||||
|
|
||||||
@@ -38,4 +35,4 @@ python euroexchange.py
|
|||||||
GPLv3+
|
GPLv3+
|
||||||
|
|
||||||
## Author Information
|
## Author Information
|
||||||
Copyright 2022 Jonathan Golder <jonathan@golderweb.de>
|
Copyright 2018 Jonathan Golder <jonathan@golderweb.de>
|
||||||
|
|||||||
@@ -338,17 +338,17 @@ class EuroExchangeBot( pywikibot.bot.BaseBot ):
|
|||||||
verifyDescription = True #set to False to skip double-checking/editing description => change to bot-mode
|
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
|
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()
|
targetSite = pywikibot.Site()
|
||||||
always = self.opt.always
|
always = self.getOption("always")
|
||||||
aborts = True if self.opt.always else list()
|
aborts = True if self.getOption("always") else list()
|
||||||
|
|
||||||
bot = pywikibot.specialbots.UploadRobot(
|
bot = pywikibot.specialbots.UploadRobot(
|
||||||
filepath,
|
filepath,
|
||||||
description=comment,
|
description=comment,
|
||||||
use_filename=filename,
|
useFilename=filename,
|
||||||
keep_filename=keepFilename,
|
keepFilename=keepFilename,
|
||||||
verify_description=verifyDescription,
|
verifyDescription=verifyDescription,
|
||||||
ignore_warning=ignoreWarning,
|
ignoreWarning=ignoreWarning,
|
||||||
target_site = targetSite,
|
targetSite = targetSite,
|
||||||
always=always,
|
always=always,
|
||||||
aborts=aborts,
|
aborts=aborts,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user