From 7413860601f044dc5cd87ee9eef71aa63375d1e1 Mon Sep 17 00:00:00 2001 From: iou1name Date: Thu, 29 Jun 2023 19:55:28 -0400 Subject: [PATCH] fix wikipedia useskin --- modules/wikipedia.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/wikipedia.py b/modules/wikipedia.py index 72bcdb9..b0c66c1 100755 --- a/modules/wikipedia.py +++ b/modules/wikipedia.py @@ -65,6 +65,7 @@ def wiki_info(bot, url): server. """ _, _, query = url.partition("wiki/") + query = query.partition('?')[0] if not query: return say_snippet(bot, query, False)