Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix exception in the exception. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 3aad06b540dc9745aa11a4b97b2af68ae37883f4
parent a2429b3978916d5a35c3bbd8581311e7c5fb7647
Author: Annna Robert-Houdin <[email protected]>
Date: Mon, 24 Apr 2023 20:21:59 +0200
Fix exception in the exception.
Diffstat:
M wikipediagame | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/wikipediagame b/wikipediagame
@@ -76,7 +76,7 @@ def main(args):
title = str(w.random())
try:
summary = w.summary(title)
- except (w.exceptions.DisambiguationError, wikipedia.exceptions…
+ except (w.exceptions.DisambiguationError, w.exceptions.PageErr…
continue
if os.path.exists(hintpath):
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.