Compare commits

...

2 Commits

Author SHA1 Message Date
19e3093f3b simplified cp commands in readme 2024-10-12 10:08:22 -07:00
461a8587ad minor fix, function 'main' assigns to var 'success' 2024-10-12 10:07:24 -07:00
2 changed files with 3 additions and 3 deletions

View File

@ -35,8 +35,8 @@ The CGI program is still invoked in static generation. The files `allmaps.py`, `
Before executing `allmaps.py`, copy and modify the templates.
cp ./templates/overview.html ./overview.html
cp ./templates/map.html ./map.html
cp ./templates/overview.html .
cp ./templates/map.html .
`allmaps.py` outputs an html file for all distinct maps in the database. The leaderboards for each map (equivalent to `?map=[map name]`) are in `output/maps/`.

View File

@ -58,7 +58,7 @@ def main():
if __name__ == "__main__":
success = False
try:
main()
success = main()
except FileNotFoundError:
traceback.print_exc()
print("\n\t The script probably didn't find the page templates needed to generate a page. You can copy minimal working examples from the repository at templates/.")