Introduction
Introduction Statistics Contact Development Disclaimer Help
Check if wikipedia module had an error. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit e884cc5206617ce8dc13d3e6f19fb51a5fada955
parent 6bac3a1793e1ab9b970b7595f4cb7d523dcd15e0
Author: Annna Robert-Houdin <[email protected]>
Date: Mon, 10 Apr 2023 15:55:48 +0200
Check if wikipedia module had an error.
Diffstat:
M wikipediagame | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/wikipediagame b/wikipediagame
@@ -57,6 +57,10 @@ def main(args):
newtitle = 1
printsummary = 1
+ if len(title) == 0:
+ print("There is no game started. Please run init.")
+ return 1
+
if newtitle == 1:
titlefd = open(titlepath, "w+")
json.dump(title, titlefd)
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.