Fix pwb.exception.NoMoveTargetError renamed

This commit is contained in:
2021-12-06 09:33:45 +01:00
parent 39e98df7cd
commit 79fcdfbf29
2 changed files with 4 additions and 1 deletions

View File

@@ -19,6 +19,9 @@ Those can be installed using pip and the _requirements.txt_ file provided with t
Versions
--------
* v1.2.3
- Fix errors resulting from pywikibot.exception.NoMoveTarget renamed to NoMoveTargetError
* v1.2.2
- Fix removed pywikibot config property db_hostname

View File

@@ -606,7 +606,7 @@ class RedFamWorker( RedFam ):
if not page.exists():
continue
except pywikibot.exceptions.NoMoveTarget:
except pywikibot.exceptions.NoMoveTargetError:
pass
# Exclude Users & User Talkpage