From e9bd074da4660b3d78170338107ec5054db3573a Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Wed, 8 Nov 2017 22:56:16 +0000 Subject: [PATCH] Allow (but ignore) hint and name header fields --- tools/moth.py | 4 ++++ tools/package-puzzles.py | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/tools/moth.py b/tools/moth.py index 07986b0..6ba2646 100644 --- a/tools/moth.py +++ b/tools/moth.py @@ -102,6 +102,10 @@ class Puzzle: self.summary = val elif key == 'answer': self.answers.append(val) + elif key == 'hint': + pass + elif key == 'name': + pass elif key == 'file': parts = val.split() name = parts[0] diff --git a/tools/package-puzzles.py b/tools/package-puzzles.py index 86d4055..4a8da80 100755 --- a/tools/package-puzzles.py +++ b/tools/package-puzzles.py @@ -76,11 +76,6 @@ def generate_html(ziphandle, puzzle, puzzledir, category, points, authors, files
Puzzle by {authors}
-
- Los Alamos National Laboratory - US Department Of Energy - Sandia National Laboratories -
'''.format( category=category,