Introduction
Introduction Statistics Contact Development Disclaimer Help
wikipediagame: fix reference to page title - annna - Annna the nice friendly bo…
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit a2429b3978916d5a35c3bbd8581311e7c5fb7647
parent 8aba6ff86af63bd89da6de33723ed2c7c24c1e3c
Author: Anders Damsgaard <[email protected]>
Date: Mon, 24 Apr 2023 20:19:58 +0200
wikipediagame: fix reference to page title
Signed-off-by: Annna Robert-Houdin <[email protected]>
Diffstat:
M wikipediagame | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/wikipediagame b/wikipediagame
@@ -144,15 +144,14 @@ def main(args):
usage(args[0])
trytext = largs[1]
if title.strip().lower() == trytext.strip().lower():
- wpage = w.page(title)
- print("Congrats! You have found the right title! :: %s" % (geturi(…
+ print("Congrats! You have found the right title! :: %s" % (geturi(…
endgame(hintpath, titlepath)
else:
print("Sorry, wrong guess. (%.0f%% correct)" % \
(SequenceMatcher(None, title.strip().lower(), …
if cmd == "giveup":
- print("The correct title was: %s" % (geturi(wpage)))
+ print("The correct title was: %s" % (geturi(w.page(title))))
endgame(hintpath, titlepath)
return 0
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.