From 79fcdfbf29c43ce524cc52b9b41e2b612dfa47b5 Mon Sep 17 00:00:00 2001 From: Jonathan Golder Date: Mon, 6 Dec 2021 09:33:45 +0100 Subject: [PATCH] Fix pwb.exception.NoMoveTargetError renamed --- README.md | 3 +++ lib/redfam.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 65b6589..edc1c1a 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/lib/redfam.py b/lib/redfam.py index 9c1cec5..69f70c1 100644 --- a/lib/redfam.py +++ b/lib/redfam.py @@ -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